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
|
global citations
|
||||||
|
|
||||||
content = event['content']
|
content = event['content']
|
||||||
if len(json.dumps(content) > 420):
|
if len(json.dumps(content)) > 420:
|
||||||
# Enlève la commande de la citation
|
# Enlève la commande de la citation
|
||||||
try:
|
try:
|
||||||
content['body'] = string.replace(content['body'],"\naddquote", "")
|
content['body'] = string.replace(content['body'],"\naddquote", "")
|
||||||
|
|
Loading…
Reference in a new issue