generated from Nemesis/Exemple
test addquote
This commit is contained in:
parent
1b39f25eb5
commit
7dd82b0e4d
1 changed files with 1 additions and 1 deletions
|
@ -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", "")
|
||||
|
|
Loading…
Reference in a new issue