summaryrefslogtreecommitdiff
path: root/protocols/Facebook/src/server.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2020-01-24 21:45:20 +0300
committerGeorge Hazan <ghazan@miranda.im>2020-01-24 21:45:20 +0300
commitdcb72b54af11f8c2b35d945c9a4d1908bb2430ae (patch)
tree6bf8fab5b8af55fb70e43e261ef6fbccf45d20ae /protocols/Facebook/src/server.cpp
parent2238f08124f674c9319358f052b89ceaf5893299 (diff)
Facebook: basic group chat hooks
Diffstat (limited to 'protocols/Facebook/src/server.cpp')
-rw-r--r--protocols/Facebook/src/server.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Facebook/src/server.cpp b/protocols/Facebook/src/server.cpp
index 2dd06bab7b..2e21d01bf1 100644
--- a/protocols/Facebook/src/server.cpp
+++ b/protocols/Facebook/src/server.cpp
@@ -175,7 +175,7 @@ void FacebookProto::RefreshThreads()
if (!n["is_group_thread"].as_bool())
continue;
- CMStringW chatId(n["id"].as_mstring());
+ CMStringW chatId(n["thread_key"]["thread_fbid"].as_mstring());
CMStringW name(n["name"].as_mstring());
auto *si = Chat_NewSession(GCW_CHATROOM, m_szModuleName, chatId, name);