Skip to content

「ノート内の最大メンション数」が効かなくなっている #17538

@kleuzjatob

Description

@kleuzjatob

💡 Summary

タイトルの通りです。
大量のスパムがリモートサーバーから投稿されていたのに気付いて確認した折に発覚しました。
(リモート同士ですがリレーサーバーを経由して受信したと思われます)

🥰 Expected Behavior

設定されたロール「ノート内の最大メンション数」に反するノートが投稿できない

🤬 Actual Behavior

「ノート内の最大メンション数」が設定されてもそれを超えるメンションを付けてノートできる

📝 Steps to Reproduce

  1. 「ノート内の最大メンション数」を設定したロールを投稿対象のアカウントに付与する(またはベースロールでもおそらく可能)
  2. 対象のアカウントで上記上限を超えるメンション数のノートを投稿する

💻 Frontend Environment

* Model and OS of the device(s): -
* Browser: -
* Server URL: gp.tsukimi.club
* Misskey: 2026.5.4

🛰 Backend Environment (for server admin)

* Installation Method or Hosting Service: systemd
* Misskey: 2026.5.4
* Node: 24.11.1
* PostgreSQL: 17.4 (Ubuntu 17.4-1.pgdg20.04+2)
* Redis: 7.4.3
* OS and Architecture: Ubuntu 22.04.5 LTS x86_64

Do you want to address this bug yourself?

  • Yes, I will patch the bug myself and send a pull request

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions