mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 14:56:42 -04:00
Add unknown user ID check. Use store.get_aliases_for_room(room_id) when searching for services by alias.
This commit is contained in:
parent
27091f146a
commit
f0c730252f
2 changed files with 20 additions and 5 deletions
|
@ -46,6 +46,7 @@ class AppServiceHandlerTestCase(unittest.TestCase):
|
|||
]
|
||||
|
||||
self.mock_store.get_app_services = Mock(return_value=services)
|
||||
self.mock_store.get_user_by_id = Mock(return_value=[])
|
||||
|
||||
event = Mock(
|
||||
sender="@someone:anywhere",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue