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
1 changed files with 19 additions and 17 deletions

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': [