Bug fix on wrong type of self.message_type

This commit is contained in:
KnugiHK
2025-05-05 17:08:35 +08:00
parent 60790d89e3
commit 4ca56b1c5c

View File

@@ -316,7 +316,7 @@ class Message:
self.sender = None
self.safe = False
self.mime = None
self.message_type = message_type,
self.message_type = message_type
if isinstance(received_timestamp, (int, float)):
self.received_timestamp = timing.format_timestamp(received_timestamp, "%Y/%m/%d %H:%M")
elif isinstance(received_timestamp, str):