summary refs log tree commit diff
path: root/synapse/handlers/room.py
diff options
context:
space:
mode:
authorAndrew Morgan <andrew@amorgan.xyz>2020-03-16 15:44:23 +0000
committerAndrew Morgan <andrew@amorgan.xyz>2020-03-16 15:44:23 +0000
commit99f8f078de744b995918e94781252ec2e11e5237 (patch)
tree766300604daa8a506dc8622dfdaf107fcafc579a /synapse/handlers/room.py
parentfix delete_existing for _persist_events (#6300) (diff)
parentRemove usage of deprecated logger.warn method from codebase (#6271) (diff)
downloadsynapse-99f8f078de744b995918e94781252ec2e11e5237.tar.xz
Remove usage of deprecated logger.warn method from codebase (#6271)
Diffstat (limited to 'synapse/handlers/room.py')
-rw-r--r--synapse/handlers/room.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/room.py b/synapse/handlers/room.py
index a3ada4f656..0dce0109de 100644
--- a/synapse/handlers/room.py
+++ b/synapse/handlers/room.py
@@ -949,7 +949,7 @@ class RoomEventSource(object):
 
         from_token = RoomStreamToken.parse(from_key)
         if from_token.topological:
-            logger.warn("Stream has topological part!!!! %r", from_key)
+            logger.warning("Stream has topological part!!!! %r", from_key)
             from_key = "s%s" % (from_token.stream,)
 
         app_service = self.store.get_app_service_by_user_id(user.to_string())