Add indices to schema

This commit is contained in:
Erik Johnston 2014-08-22 18:02:45 +01:00
parent f40844def2
commit 9f514915af
2 changed files with 24 additions and 0 deletions

View file

@ -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")