summary refs log tree commit diff
path: root/synapse/handlers/message.py
diff options
context:
space:
mode:
authorPaul "LeoNerd" Evans <paul@matrix.org>2015-02-12 19:12:57 +0000
committerPaul "LeoNerd" Evans <paul@matrix.org>2015-02-12 19:13:21 +0000
commit29805213d1c20c89c20a4b3075c30597b4402338 (patch)
treef05225e11eb79aa946c1e36d74b513e6d0b93cae /synapse/handlers/message.py
parentOnly attempt to fetch presence state of JOINed members in room initialSync (S... (diff)
downloadsynapse-29805213d1c20c89c20a4b3075c30597b4402338.tar.xz
Can now remove the FIXME too
Diffstat (limited to 'synapse/handlers/message.py')
-rw-r--r--synapse/handlers/message.py13
1 files changed, 3 insertions, 10 deletions
diff --git a/synapse/handlers/message.py b/synapse/handlers/message.py
index c6d6188d9d..5f4cc1a84b 100644
--- a/synapse/handlers/message.py
+++ b/synapse/handlers/message.py
@@ -386,16 +386,9 @@ class MessageHandler(BaseHandler):
                 )
                 presence.append(member_presence)
             except SynapseError as e:
-                if e.code == 404:
-                    # FIXME: We are doing this as a warn since this gets hit a
-                    # lot and spams the logs. Why is this happening?
-                    logger.warn(
-                        "Failed to get member presence of %r", m.user_id
-                    )
-                else:
-                    logger.exception(
-                        "Failed to get member presence of %r", m.user_id
-                    )
+                logger.exception(
+                    "Failed to get member presence of %r", m.user_id
+                )
 
         time_now = self.clock.time_msec()