test addquote

This commit is contained in:
Nemesis 2018-08-08 12:07:22 +02:00
parent 1b39f25eb5
commit 7dd82b0e4d

View file

@ -1260,7 +1260,7 @@ def addquote(room,event):
global citations
content = event['content']
if len(json.dumps(content) > 420):
if len(json.dumps(content)) > 420:
# Enlève la commande de la citation
try:
content['body'] = string.replace(content['body'],"\naddquote", "")