diff options
Diffstat (limited to 'protocols/AimOscar/server.cpp')
-rw-r--r-- | protocols/AimOscar/server.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/protocols/AimOscar/server.cpp b/protocols/AimOscar/server.cpp index 7cd4601dcd..800f90a882 100644 --- a/protocols/AimOscar/server.cpp +++ b/protocols/AimOscar/server.cpp @@ -547,7 +547,10 @@ void CAimProto::snac_user_online(SNAC &snac)//family 0x0003 char* msg = tlv.part(i + 6, len);
char* msg_s = process_status_msg(msg, sn);
DBWriteContactSettingStringUtf(hContact, MOD_KEY_CL, OTH_KEY_SM, msg_s);
- sendBroadcast(hContact, ACKTYPE_AWAYMSG, ACKRESULT_SUCCESS, NULL, (LPARAM)msg);
+
+ TCHAR* tszMsg = mir_utf8decodeT(msg_s);
+ sendBroadcast(hContact, ACKTYPE_AWAYMSG, ACKRESULT_SUCCESS, NULL, (LPARAM)tszMsg);
+ mir_free(tszMsg);
mir_free(msg);
mir_free(msg_s);
}
|