summaryrefslogtreecommitdiff
path: root/protocols/Discord/src/guilds.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2024-05-10 13:11:04 +0300
committerGeorge Hazan <george.hazan@gmail.com>2024-05-10 13:11:04 +0300
commit8550b783b31d7aeb8ac6de4c1e2d013ddca377b3 (patch)
tree18231f8511d3df8b3a0903bef72468e2743c64cb /protocols/Discord/src/guilds.cpp
parent6c75142f5e14c3aef94474f9bea2f208f6a2c80b (diff)
fixes #4410 (Discord: загрузка истории с сервера не загружает некоторые события)
Diffstat (limited to 'protocols/Discord/src/guilds.cpp')
-rw-r--r--protocols/Discord/src/guilds.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Discord/src/guilds.cpp b/protocols/Discord/src/guilds.cpp
index 67fb04928b..a4e5a8ee3b 100644
--- a/protocols/Discord/src/guilds.cpp
+++ b/protocols/Discord/src/guilds.cpp
@@ -226,7 +226,7 @@ CDiscordUser* CDiscordProto::ProcessGuildChannel(CDiscordGuild *pGuild, const JS
pUser->wszTopic = pch["topic"].as_mstring();
pUser->pGuild = pGuild;
pUser->lastMsgId = ::getId(pch["last_message_id"]);
- pUser->parentId = _wtoi64(pch["parent_id"].as_mstring());
+ pUser->parentId = ::getId(pch["parent_id"]);
return pUser;
}