0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-11-16 15:01:23 +01:00

Merge remote-tracking branch 'origin/develop' into metrics

This commit is contained in:
Paul "LeoNerd" Evans 2015-03-12 16:55:25 +00:00
commit e90002ca1d

View file

@ -133,10 +133,16 @@ class Pusher(object):
)
continue
if matches:
logger.info("%s matches for user %s, event %s", r['rule_id'], self.user_name, ev['event_id'])
logger.info(
"%s matches for user %s, event %s",
r['rule_id'], self.user_name, ev['event_id']
)
defer.returnValue(actions)
logger.info("No rules match for user %s, event %s", self.user_name, ev['event_id'])
logger.info(
"No rules match for user %s, event %s",
self.user_name, ev['event_id']
)
defer.returnValue(Pusher.DEFAULT_ACTIONS)
@staticmethod