summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--synapse/storage/__init__.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/synapse/storage/__init__.py b/synapse/storage/__init__.py
index 0b4693041f..f68e436df0 100644
--- a/synapse/storage/__init__.py
+++ b/synapse/storage/__init__.py
@@ -280,7 +280,8 @@ class DataStore(RoomMemberStore, RoomStore,
 
             sql = """
                 SELECT platform, COALESCE(count(*), 0) FROM (
-                     SELECT users.name, platform, users.creation_ts * 1000, MAX(uip.last_seen)
+                     SELECT users.name, platform, users.creation_ts * 1000,
+                                                            MAX(uip.last_seen)
                      FROM users
                      INNER JOIN (
                          SELECT
@@ -317,7 +318,8 @@ class DataStore(RoomMemberStore, RoomStore,
 
             sql = """
                 SELECT COALESCE(count(*), 0) FROM (
-                    SELECT users.name, users.creation_ts * 1000, MAX(uip.last_seen)
+                    SELECT users.name, users.creation_ts * 1000,
+                                                        MAX(uip.last_seen)
                     FROM users
                     INNER JOIN (
                         SELECT