diff options
author | George Hazan <ghazan@miranda.im> | 2021-12-05 12:24:57 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2021-12-05 12:24:57 +0300 |
commit | 67784c8b5f579ece561eeab65f2e4b6299e9511c (patch) | |
tree | a0c2498853ab0c1afdfd2f86a6d165b64cf97025 /protocols/Facebook/src | |
parent | 77142c2a851547b4e3fc6b86bb308a91adf32854 (diff) |
Facebook: if a search is not implemented in Miranda, we shall not allow users to perform a search
Diffstat (limited to 'protocols/Facebook/src')
-rw-r--r-- | protocols/Facebook/src/proto.cpp | 2 | ||||
-rw-r--r-- | protocols/Facebook/src/proto.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Facebook/src/proto.cpp b/protocols/Facebook/src/proto.cpp index 3b9eb5101b..c557c42dff 100644 --- a/protocols/Facebook/src/proto.cpp +++ b/protocols/Facebook/src/proto.cpp @@ -186,7 +186,7 @@ INT_PTR FacebookProto::GetCaps(int type, MCONTACT) switch (type) { case PFLAGNUM_1: { - DWORD_PTR flags = PF1_IM | PF1_CHAT | PF1_SERVERCLIST | PF1_AUTHREQ | PF1_BASICSEARCH | PF1_SEARCHBYEMAIL | PF1_SEARCHBYNAME | PF1_ADDSEARCHRES; + DWORD_PTR flags = PF1_IM | PF1_CHAT | PF1_SERVERCLIST | PF1_AUTHREQ; if (getByte(DBKEY_SET_MIRANDA_STATUS)) return flags |= PF1_MODEMSG; diff --git a/protocols/Facebook/src/proto.h b/protocols/Facebook/src/proto.h index 3a69b24022..0fdc4402d2 100644 --- a/protocols/Facebook/src/proto.h +++ b/protocols/Facebook/src/proto.h @@ -526,7 +526,7 @@ public: MCONTACT AddToList(int flags, PROTOSEARCHRESULT *psr) override; INT_PTR GetCaps(int type, MCONTACT hContact) override; - int SendMsg(MCONTACT hContact, int flags, const char *pszSrc); + int SendMsg(MCONTACT hContact, int flags, const char *pszSrc) override; int SetStatus(int iNewStatus) override; int UserIsTyping(MCONTACT hContact, int type) override; |