diff options
author | George Hazan <george.hazan@gmail.com> | 2013-09-08 16:29:32 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-09-08 16:29:32 +0000 |
commit | 58a252dd51d4a289ecad6733aab4712212f78186 (patch) | |
tree | 417bb2074fda3b70409c1e04ee6b238a60f987df /protocols/MRA/src/MraSendCommand.cpp | |
parent | 9196065a1afd8850b3d66995c5b393c7aec9b5fe (diff) |
- fix for contact moving to a group with a short name;
- correct MRIM_CS_AUTHORIZE_ACK buffer filling;
- correct flags allocation;
git-svn-id: http://svn.miranda-ng.org/main/trunk@6024 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/MRA/src/MraSendCommand.cpp')
-rw-r--r-- | protocols/MRA/src/MraSendCommand.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/MRA/src/MraSendCommand.cpp b/protocols/MRA/src/MraSendCommand.cpp index 7f64f1c3c3..6f279c6e49 100644 --- a/protocols/MRA/src/MraSendCommand.cpp +++ b/protocols/MRA/src/MraSendCommand.cpp @@ -186,7 +186,7 @@ DWORD CMraProto::MraMessageRecv(const CMStringA &szFrom, DWORD dwMsgID) // Adds new contact
DWORD CMraProto::MraAddContact(HANDLE hContact, DWORD dwContactFlag, DWORD dwGroupID, const CMStringA &szEmail, const CMStringW &wszCustomName, const CMStringA *szPhones, const CMString* wszAuthMessage)
{
- if (szEmail.GetLength() <= 4)
+ if (szEmail.GetLength() <= 4 && !(dwContactFlag & CONTACT_FLAG_GROUP))
return 0;
dwContactFlag |= CONTACT_FLAG_UNICODE_NAME;
|