diff options
author | Erik Johnston <erik@matrix.org> | 2016-02-18 10:11:43 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2016-02-18 10:11:43 +0000 |
commit | 112283e23005bdaa17b6184cb55fd786facff47d (patch) | |
tree | 6028e91034155cce73c2ab36e544cd7267c305b0 /synapse/storage/__init__.py | |
parent | Remove status_msg when going offline. Don't offline -> online if you send a m... (diff) | |
download | synapse-112283e23005bdaa17b6184cb55fd786facff47d.tar.xz |
Prefix TS fields with _ts
Diffstat (limited to 'synapse/storage/__init__.py')
-rw-r--r-- | synapse/storage/__init__.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/storage/__init__.py b/synapse/storage/__init__.py index 8c3cf9e801..fcb968e8f4 100644 --- a/synapse/storage/__init__.py +++ b/synapse/storage/__init__.py @@ -203,8 +203,8 @@ class DataStore(RoomMemberStore, RoomStore, """ sql = ( - "SELECT user_id, state, last_active, last_federation_update," - " last_user_sync, status_msg, currently_active FROM presence_stream" + "SELECT user_id, state, last_active_ts, last_federation_update_ts," + " last_user_sync_ts, status_msg, currently_active FROM presence_stream" " WHERE state != ?" ) sql = self.database_engine.convert_param_style(sql) |