When you set an encrypted room to MentionsAndKeywordsOnly, the SDK installs a room-level dont_notify push rule. This blocks the homeserver from sending any push for that room. The server has no way to work around it, because all messages arrive as m.room.encrypted events: the server cannot read the ciphertext to check whether it contains a mention. The device never wakes up, so it never decrypts the event, so no mention notification appears.
The root cause is that push rule evaluation happens on the server before decryption. The room-level rule fires first and suppresses everything. Content-based mention rules never get a chance to run.
When you set an encrypted room to
MentionsAndKeywordsOnly, the SDK installs a room-leveldont_notifypush rule. This blocks the homeserver from sending any push for that room. The server has no way to work around it, because all messages arrive asm.room.encryptedevents: the server cannot read the ciphertext to check whether it contains a mention. The device never wakes up, so it never decrypts the event, so no mention notification appears.The root cause is that push rule evaluation happens on the server before decryption. The room-level rule fires first and suppresses everything. Content-based mention rules never get a chance to run.