diff options
author | Erik Johnston <erik@matrix.org> | 2014-08-22 18:02:45 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2014-08-22 18:03:39 +0100 |
commit | 9f514915afe813cfb531748e252479b6332e5d76 (patch) | |
tree | 2cf6051c5dd5e14d96e519eadee8c70498d56c5b /synapse/handlers/presence.py | |
parent | avatar url (diff) | |
download | synapse-9f514915afe813cfb531748e252479b6332e5d76.tar.xz |
Add indices to schema
Diffstat (limited to 'synapse/handlers/presence.py')
-rw-r--r-- | synapse/handlers/presence.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/synapse/handlers/presence.py b/synapse/handlers/presence.py index 540e114b82..4ce77cbff1 100644 --- a/synapse/handlers/presence.py +++ b/synapse/handlers/presence.py @@ -187,6 +187,10 @@ class PresenceHandler(BaseHandler): @defer.inlineCallbacks def set_state(self, target_user, auth_user, state): + return + # TODO (erikj): Turn this back on. Why did we end up sending EDUs + # everywhere? + if not target_user.is_mine: raise SynapseError(400, "User is not hosted on this Home Server") |