summaryrefslogtreecommitdiff
path: root/poezio/text_buffer.py
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2021-04-16 19:25:57 +0200
committermathieui <mathieui@mathieui.net>2021-04-16 19:25:57 +0200
commite5398e68e97b56f1c1daa8fe104208862c66900f (patch)
tree58ae502bafc2618df927c5f673e7cefdc6729e09 /poezio/text_buffer.py
parent3591221e04a539d5eaea8252c363c78515adc171 (diff)
downloadpoezio-e5398e68e97b56f1c1daa8fe104208862c66900f.tar.gz
poezio-e5398e68e97b56f1c1daa8fe104208862c66900f.tar.bz2
poezio-e5398e68e97b56f1c1daa8fe104208862c66900f.tar.xz
poezio-e5398e68e97b56f1c1daa8fe104208862c66900f.zip
fix: correction time in one to one tabs (fix #3532)
Diffstat (limited to 'poezio/text_buffer.py')
-rw-r--r--poezio/text_buffer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/poezio/text_buffer.py b/poezio/text_buffer.py
index 48ec1e21..c25c172c 100644
--- a/poezio/text_buffer.py
+++ b/poezio/text_buffer.py
@@ -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(