fix: correction time in one to one tabs (fix #3532)

This commit is contained in:
mathieui 2021-04-16 19:25:57 +02:00
parent 3591221e04
commit e5398e68e9
2 changed files with 2 additions and 2 deletions

View file

@ -414,7 +414,7 @@ class HandlerCore:
body,
replaced_id,
message['id'],
time=None,
time=date,
jid=jid,
nickname=remote_nick)
return True

View file

@ -287,7 +287,7 @@ class TextBuffer:
'sent by the same fullJID' % (orig_id, new_id))
if not time:
time = msg.time
time = datetime.now()
self.correction_ids[new_id] = orig_id
message = Message(