summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--tests/rest/client/v1/test_rooms.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/rest/client/v1/test_rooms.py b/tests/rest/client/v1/test_rooms.py
index d8409e32cd..1ac4cedee5 100644
--- a/tests/rest/client/v1/test_rooms.py
+++ b/tests/rest/client/v1/test_rooms.py
@@ -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"])