summaryrefslogtreecommitdiff
path: root/protocols/Xfire
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Xfire')
-rw-r--r--protocols/Xfire/src/main.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/protocols/Xfire/src/main.cpp b/protocols/Xfire/src/main.cpp
index 14f8e7200a..ff8e1b947d 100644
--- a/protocols/Xfire/src/main.cpp
+++ b/protocols/Xfire/src/main.cpp
@@ -715,12 +715,11 @@ void XFireClient::receivedPacket(XFirePacket *packet) {
{
str = ((MessagePacket*)content)->getMessage();
+ CallService(MS_PROTO_CONTACTISTYPING, (WPARAM)entry->hcontact, PROTOTYPE_CONTACTTYPING_OFF);
+
PROTORECVEVENT pre = { 0 };
pre.timestamp = time(NULL);
pre.szMessage = (char*)str.c_str();
- pre.flags = PREF_UTF;
-
- CallService(MS_PROTO_CONTACTISTYPING, (WPARAM)entry->hcontact, PROTOTYPE_CONTACTTYPING_OFF);
ProtoChainRecvMsg(entry->hcontact, &pre);
}
}