summaryrefslogtreecommitdiff
path: root/protocols/Facebook/src/proto.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2021-01-19 22:14:44 +0300
committerGeorge Hazan <ghazan@miranda.im>2021-01-19 22:14:44 +0300
commit6ba39da289306e1a1db3ee122add5f2dbc4aaee4 (patch)
treeccdd964a836a4b4875f14076ae5bf496776dfd9c /protocols/Facebook/src/proto.cpp
parent8fb695ee9ab7987b58fb3f5ead668d21b56da230 (diff)
fixes #2693 (import in the service mode breaks the groups' order)
Diffstat (limited to 'protocols/Facebook/src/proto.cpp')
-rw-r--r--protocols/Facebook/src/proto.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/Facebook/src/proto.cpp b/protocols/Facebook/src/proto.cpp
index 1650e31619..bfb6f9e71a 100644
--- a/protocols/Facebook/src/proto.cpp
+++ b/protocols/Facebook/src/proto.cpp
@@ -116,9 +116,6 @@ FacebookProto::FacebookProto(const char *proto_name, const wchar_t *username) :
HookProtoEvent(ME_OPT_INITIALISE, &FacebookProto::OnOptionsInit);
HookProtoEvent(ME_DB_EVENT_MARKED_READ, &FacebookProto::OnMarkedRead);
- // Default group
- Clist_GroupCreate(0, m_wszDefaultGroup);
-
// Group chats
GCREGISTER gcr = {};
gcr.dwFlags = GC_TYPNOTIF;
@@ -142,6 +139,9 @@ void FacebookProto::OnModulesLoaded()
wszPath.Format(L"%s\\%S\\Stickers\\*.webp", wszCache.get(), m_szModuleName);
cont.path = wszPath;
CallService(MS_SMILEYADD_LOADCONTACTSMILEYS, 0, LPARAM(&cont));
+
+ // Default group
+ Clist_GroupCreate(0, m_wszDefaultGroup);
}
void FacebookProto::OnShutdown()