Merge pull request #514 from matrix-org/remove_member_event_rule

Remove member event rule as per SYN-607
This commit is contained in:
David Baker 2016-01-21 12:00:26 +00:00
commit 0503bdb316

View File

@ -218,23 +218,25 @@ BASE_APPEND_UNDERRIDE_RULES = [
} }
] ]
}, },
{ # This is too simple: https://matrix.org/jira/browse/SYN-607
'rule_id': 'global/underride/.m.rule.member_event', # Removing for now
'conditions': [ # {
{ # 'rule_id': 'global/underride/.m.rule.member_event',
'kind': 'event_match', # 'conditions': [
'key': 'type', # {
'pattern': 'm.room.member', # 'kind': 'event_match',
'_id': '_member', # 'key': 'type',
} # 'pattern': 'm.room.member',
], # '_id': '_member',
'actions': [ # }
'notify', { # ],
'set_tweak': 'highlight', # 'actions': [
'value': False # 'notify', {
} # 'set_tweak': 'highlight',
] # 'value': False
}, # }
# ]
# },
{ {
'rule_id': 'global/underride/.m.rule.message', 'rule_id': 'global/underride/.m.rule.message',
'conditions': [ 'conditions': [