diff options
author | George Hazan <george.hazan@gmail.com> | 2014-01-29 16:28:01 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-01-29 16:28:01 +0000 |
commit | e808982b472d53c96b3c5a1e708a4e7f4f7c6d11 (patch) | |
tree | 415c0c5def6b2b19c48cb6c0dcad5aa94daa3c2e /protocols/MRA/src/Mra_proto.cpp | |
parent | d4afc92965408480f76698d5a56304e38c0cf1fe (diff) |
fix for unknown xstatus in MRA
git-svn-id: http://svn.miranda-ng.org/main/trunk@7951 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/MRA/src/Mra_proto.cpp')
-rw-r--r-- | protocols/MRA/src/Mra_proto.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/protocols/MRA/src/Mra_proto.cpp b/protocols/MRA/src/Mra_proto.cpp index 1ef3f495af..b9e40e8424 100644 --- a/protocols/MRA/src/Mra_proto.cpp +++ b/protocols/MRA/src/Mra_proto.cpp @@ -1884,6 +1884,9 @@ DWORD GetMirandaStatusFromMraStatus(DWORD dwMraStatus, DWORD dwXStatusMra, DWORD switch (dwXStatusMra) {
case MRA_XSTATUS_DND: return ID_STATUS_DND;
case MRA_XSTATUS_CHAT: return ID_STATUS_FREECHAT;
+ case MRA_XSTATUS_MOBILE:
+ if (pdwXStatusMir) *pdwXStatusMir = MRA_MIR_XSTATUS_MOBILE;
+ return ID_STATUS_ONLINE;
case MRA_XSTATUS_UNKNOWN:
if (pdwXStatusMir) *pdwXStatusMir = MRA_MIR_XSTATUS_UNKNOWN;
return ID_STATUS_ONLINE;
|