mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 22:14:55 -04:00
Ah, the comma of doom.
This commit is contained in:
parent
6741c3dbd9
commit
d93ce29a86
1 changed files with 1 additions and 1 deletions
|
@ -101,7 +101,7 @@ class PushRuleRestServlet(ClientV1RestServlet):
|
||||||
if pat.strip("*?[]") == pat:
|
if pat.strip("*?[]") == pat:
|
||||||
# no special glob characters so we assume the user means
|
# no special glob characters so we assume the user means
|
||||||
# 'contains this string' rather than 'is this string'
|
# 'contains this string' rather than 'is this string'
|
||||||
pat = "*%s*" % (pat)
|
pat = "*%s*" % (pat,)
|
||||||
conditions = [{
|
conditions = [{
|
||||||
'kind': 'event_match',
|
'kind': 'event_match',
|
||||||
'key': 'content.body',
|
'key': 'content.body',
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue