mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-07 22:44:56 -04:00
Fix notification count after a highlighted message (#13223)
Fixes #13196 Broke by #13005
This commit is contained in:
parent
a962c5a56d
commit
757bc0caef
3 changed files with 16 additions and 3 deletions
|
@ -196,6 +196,13 @@ class EventPushActionsStoreTestCase(HomeserverTestCase):
|
|||
_mark_read(10, 10)
|
||||
_assert_counts(0, 0)
|
||||
|
||||
_inject_actions(11, HIGHLIGHT)
|
||||
_assert_counts(1, 1)
|
||||
_mark_read(11, 11)
|
||||
_assert_counts(0, 0)
|
||||
_rotate(11)
|
||||
_assert_counts(0, 0)
|
||||
|
||||
def test_find_first_stream_ordering_after_ts(self) -> None:
|
||||
def add_event(so: int, ts: int) -> None:
|
||||
self.get_success(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue