diff options
Diffstat (limited to 'discord/message.cpp')
-rw-r--r-- | discord/message.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/discord/message.cpp b/discord/message.cpp index 4134435..29f3dd2 100644 --- a/discord/message.cpp +++ b/discord/message.cpp @@ -107,6 +107,8 @@ void Message::from_json_edited(const nlohmann::json &j) { JS_O("content", Content); JS_O("timestamp", Timestamp); JS_ON("edited_timestamp", EditedTimestamp); + if (EditedTimestamp.size() > 0) + SetEdited(); JS_O("tts", IsTTS); JS_O("mention_everyone", DoesMentionEveryone); JS_O("mentions", Mentions); |