fix reply fallback stripping regex
This commit is contained in:
parent
d864b0cc44
commit
4db1b48c71
1 changed files with 1 additions and 1 deletions
|
@ -252,7 +252,7 @@ class MatrixClient(AppService):
|
|||
|
||||
event.body = tmp
|
||||
event.formatted_body = (
|
||||
re.sub(".*</mx-reply>", "", event.formatted_body)
|
||||
re.sub("<mx-reply>.*</mx-reply>", "", event.formatted_body)
|
||||
if event.formatted_body
|
||||
else event.body
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue