mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-14 08:45:29 -04:00
Fix checking if service notice room is already tagged
This manifested in synapse repeatedly setting the tag for the room
This commit is contained in:
parent
897d976c1e
commit
01a5a8b9e3
2 changed files with 4 additions and 4 deletions
|
@ -55,6 +55,7 @@ class TestResourceLimitsServerNotices(unittest.TestCase):
|
|||
returnValue=""
|
||||
)
|
||||
self._rlsn._store.add_tag_to_room = Mock()
|
||||
self._rlsn._store.get_tags_for_room = Mock(return_value={})
|
||||
self.hs.config.admin_uri = "mailto:user@test.com"
|
||||
|
||||
@defer.inlineCallbacks
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue