mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-12-24 11:09:23 -05:00
Remove debug try/catch
This commit is contained in:
parent
2d97e65558
commit
f72ed6c6a3
@ -234,7 +234,6 @@ class PresenceHandler(BaseHandler):
|
|||||||
|
|
||||||
@defer.inlineCallbacks
|
@defer.inlineCallbacks
|
||||||
def get_states(self, target_users, auth_user, as_event=False, check_auth=True):
|
def get_states(self, target_users, auth_user, as_event=False, check_auth=True):
|
||||||
try:
|
|
||||||
local_users, remote_users = partitionbool(
|
local_users, remote_users = partitionbool(
|
||||||
target_users,
|
target_users,
|
||||||
lambda u: self.hs.is_mine(u)
|
lambda u: self.hs.is_mine(u)
|
||||||
@ -289,9 +288,6 @@ class PresenceHandler(BaseHandler):
|
|||||||
)
|
)
|
||||||
|
|
||||||
results[user] = {"type": "m.presence", "content": content}
|
results[user] = {"type": "m.presence", "content": content}
|
||||||
except:
|
|
||||||
logger.exception(":(")
|
|
||||||
raise
|
|
||||||
|
|
||||||
defer.returnValue(results)
|
defer.returnValue(results)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user