From 8d5867276a766c5447e4d4489f4649d7fb04ab72 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 20 Sep 2018 22:12:50 +0300 Subject: fix for the proper return type of PROTO<>::RecvMsg --- protocols/FacebookRM/src/messages.cpp | 2 +- protocols/FacebookRM/src/proto.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'protocols/FacebookRM/src') diff --git a/protocols/FacebookRM/src/messages.cpp b/protocols/FacebookRM/src/messages.cpp index 4801f61a56..015ec134f9 100644 --- a/protocols/FacebookRM/src/messages.cpp +++ b/protocols/FacebookRM/src/messages.cpp @@ -22,7 +22,7 @@ along with this program. If not, see . #include "stdafx.h" -int FacebookProto::RecvMsg(MCONTACT hContact, PROTORECVEVENT *pre) +MEVENT FacebookProto::RecvMsg(MCONTACT hContact, PROTORECVEVENT *pre) { StopTyping(hContact); diff --git a/protocols/FacebookRM/src/proto.h b/protocols/FacebookRM/src/proto.h index 48a8c22ee7..4b66e7d779 100644 --- a/protocols/FacebookRM/src/proto.h +++ b/protocols/FacebookRM/src/proto.h @@ -116,7 +116,7 @@ public: HANDLE SearchByEmail(const wchar_t* email) override; HANDLE SearchByName(const wchar_t* nick, const wchar_t* firstName, const wchar_t* lastName) override; - int RecvMsg(MCONTACT hContact, PROTORECVEVENT*) override; + MEVENT RecvMsg(MCONTACT hContact, PROTORECVEVENT*) override; int SendMsg(MCONTACT hContact, int flags, const char* msg) override; int SetStatus(int iNewStatus) override; -- cgit v1.2.3