mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-26 19:47:05 +03:00
390b7ce946
This avoids doing work that will never be used (since the resulting unread counts will never be sent in a /sync response). The negative of doing this is that unread counts will be incorrect when the feature is initially enabled.
1 line
212 B
Text
1 line
212 B
Text
Fix a bug introduced in Synapse v1.20.0 that would cause the unstable unread counts from [MSC2654](https://github.com/matrix-org/matrix-spec-proposals/pull/2654) to be calculated even if the feature is disabled.
|