move chat message menu into the chatlist

This commit is contained in:
ouwou committed 2021-06-16 03:53:30 -04:00
1 parent d527669d39
commit 51fdcddaea
5 files changed
+68 -109

No files matched your search

+1
View File
@@ -544,6 +544,7 @@ void Abaddon::ActionChatDeleteMessage(Snowflake channel_id, Snowflake id) {
void Abaddon::ActionChatEditMessage(Snowflake channel_id, Snowflake id) {
const auto msg = m_discord.GetMessage(id);
if (!msg.has_value()) return;
EditMessageDialog dlg(*m_main_window);
dlg.SetContent(msg->Content);
auto response = dlg.run();