From 138c405974cf4c460d33a8a1ac0c88051d44467f Mon Sep 17 00:00:00 2001 From: Erik Johnston Date: Tue, 23 Feb 2016 10:40:11 +0000 Subject: [PATCH] Pick up currently_active across federation --- synapse/handlers/presence.py | 1 + 1 file changed, 1 insertion(+) diff --git a/synapse/handlers/presence.py b/synapse/handlers/presence.py index aed640450f..acf400e324 100644 --- a/synapse/handlers/presence.py +++ b/synapse/handlers/presence.py @@ -522,6 +522,7 @@ class PresenceHandler(BaseHandler): new_fields["last_active_ts"] = now - last_active_ago new_fields["status_msg"] = push.get("status_msg", None) + new_fields["currently_active"] = push.get("currently_active", False) prev_state = yield self.current_state_for_user(user_id) updates.append(prev_state.copy_and_replace(**new_fields))