fix some remove dm member logic

This commit is contained in:
ouwou
2021-02-18 14:36:58 -05:00
parent 4df9b148e2
commit a721600016

View File

@@ -315,7 +315,7 @@ void Abaddon::ShowUserMenu(const GdkEvent *event, Snowflake id, Snowflake guild_
if (me != id) {
const auto channel_id = m_main_window->GetChatActiveChannel();
const auto channel = m_discord.GetChannel(channel_id);
if (channel.has_value() && channel->Type == ChannelType::GROUP_DM && id != *channel->OwnerID)
if (channel.has_value() && channel->Type == ChannelType::GROUP_DM && me == *channel->OwnerID)
m_user_menu_remove_recipient->show();
}