element-hq / element-ios

A glossy Matrix collaboration client for iOS
https://element.io
Apache License 2.0
1.73k stars 486 forks source link

Support MSC4028 (Push all encrypted events except for muted rooms) #7607

Open giomfo opened 1 year ago

giomfo commented 1 year ago

Description

The purpose of MSC4028 is to be able to support on mobile clients the "mentions-and-keywords-only" room notification setting in encrypted rooms.

This MSC adds a new “server-default" override push rule (.m.rule.encrypted_event) in order to force the server to push all encrypted events to the registered client except for muted room. This impacts the unread notification counts sent by the server in the sync responses. Indeed these counts will not be null anymore for encrypted rooms configured in "mentions-and-keywords-only" mode.

I list here the 2 options to support this new MSC in Element-iOS:

giomfo commented 1 year ago

related to https://github.com/vector-im/element-android/issues/8539