1
0
This commit is contained in:
Matthew Hodgson
2018-01-09 20:37:12 +00:00
parent 12545a80e7
commit aa70b0afb1

View File

@@ -987,10 +987,11 @@ class RoomInitialSyncTestCase(RestTestCase):
self.assertTrue("presence" in response)
presence_by_user = {
e["content"]["user_id"]: e for e in response["presence"]
}
# presence is turned off on hotfixes
# presence_by_user = {
# e["content"]["user_id"]: e for e in response["presence"]
# }
# self.assertTrue(self.user_id in presence_by_user)
# self.assertEquals("m.presence", presence_by_user[self.user_id]["type"])