-
-
Notifications
You must be signed in to change notification settings - Fork 97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
definition of "unread count" in push gateway API does not match reality #644
Comments
according to @BillCarsonFr , the riot mobile clients don't even use this field any more. maybe we can just drop it? |
while we're here: the spec also has |
but according to @ismailgulek, riot-iOS does use this field. |
Yes, i confirm Riot-iOS will need |
but we could still consider getting rid of |
it's now clear that element-iOS does use |
Note that as of matrix-org/synapse#8820 in Synapse 1.24, it's possible (but not the default) to configure Synapse to meet the Spec's original definition of "The number of unread messages a user has across all of the rooms they are a member of." |
this just caused much confusion with the EX team (cc @stefanceriu). EX is unilaterally getting a remotely-calculated badge count from sygnal, which then fights against the locally calculated badge count, and chaos happens: element-hq/element-x-ios#2066. So: a) the spec should be fixed to describe what the count actually means |
The
_matrix/push/v1/notify
endpoint includes a parameternotification.counts.unread
, defined as "The number of unread messages a user has across all of the rooms they are a member of."Since matrix-org/synapse#793, Synapse has chosen to interpret this as "the number of rooms with unread messages".
Possibly the spec should be reworded to allow discretion on the part of the homeserver impl?
The text was updated successfully, but these errors were encountered: