summaryrefslogtreecommitdiff
path: root/protocols/Facebook/src/groupchats.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Facebook/src/groupchats.cpp')
-rw-r--r--protocols/Facebook/src/groupchats.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/protocols/Facebook/src/groupchats.cpp b/protocols/Facebook/src/groupchats.cpp
index b185026215..cc20fceb4e 100644
--- a/protocols/Facebook/src/groupchats.cpp
+++ b/protocols/Facebook/src/groupchats.cpp
@@ -1,7 +1,7 @@
/*
Facebook plugin for Miranda NG
-Copyright © 2019-24 Miranda NG team
+Copyright © 2019-25 Miranda NG team
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -42,7 +42,7 @@ class CGroupchatInviteDlg : public CFBDlgBase
{
m_clc.SetHideEmptyGroups(1);
m_clc.SetHideOfflineRoot(1);
- m_clc.SetOfflineModes(PF2_NONE);
+ m_clc.SetOfflineModes(PF2_FREECHAT);
}
public:
@@ -87,7 +87,7 @@ public:
pReq << CHAR_PARAM("to", list.write().c_str()) << WCHAR_PARAM("id", CMStringW(FORMAT, L"t_%s", m_si->ptszID));
pReq->CalcSig();
- JsonReply reply(m_proto->ExecuteRequest(pReq));
+ FbReply reply(m_proto->ExecuteRequest(pReq));
return true;
}
};
@@ -233,7 +233,7 @@ int FacebookProto::Chat_KickUser(SESSION_INFO *si, const wchar_t *pwszUid)
}
pReq->CalcSig();
- JsonReply reply(ExecuteRequest(pReq));
+ FbReply reply(ExecuteRequest(pReq));
return reply.error();
}