diff options
Diffstat (limited to 'protocols/Discord/src/menus.cpp')
| -rw-r--r-- | protocols/Discord/src/menus.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/protocols/Discord/src/menus.cpp b/protocols/Discord/src/menus.cpp index a4734e8d57..311e002717 100644 --- a/protocols/Discord/src/menus.cpp +++ b/protocols/Discord/src/menus.cpp @@ -94,7 +94,8 @@ INT_PTR CDiscordProto::OnMenuToggleSync(WPARAM hContact, LPARAM) setByte(hContact, "EnableSync", bEnabled); if (bEnabled) - GatewaySendGuildInfo(getId(hContact, DB_KEY_CHANNELID)); + if (auto *pGuild = FindGuild(getId(hContact, DB_KEY_CHANNELID))) + LoadGuildInfo(pGuild); return 0; } |
