|
@ -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", "") |
|
|