summaryrefslogtreecommitdiff
path: root/protocols/MRA/src/Mra_proto.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-02-02 09:26:31 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-02-02 09:26:31 +0000
commit5abedf89d15719fb5e2ba394363ad85264ac2f58 (patch)
tree3e2ef29c0621b58aa2be4a4397885642d7da3a60 /protocols/MRA/src/Mra_proto.cpp
parent549f44877c47973ba428f5cc0ad51e61f8a972da (diff)
the better way of processing MRA Mobile status (patch by Thug, modified)
git-svn-id: http://svn.miranda-ng.org/main/trunk@7999 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/MRA/src/Mra_proto.cpp')
-rw-r--r--protocols/MRA/src/Mra_proto.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/protocols/MRA/src/Mra_proto.cpp b/protocols/MRA/src/Mra_proto.cpp
index b9e40e8424..91f9578d44 100644
--- a/protocols/MRA/src/Mra_proto.cpp
+++ b/protocols/MRA/src/Mra_proto.cpp
@@ -1884,9 +1884,7 @@ 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_MOBILE: return ID_STATUS_ONTHEPHONE;
case MRA_XSTATUS_UNKNOWN:
if (pdwXStatusMir) *pdwXStatusMir = MRA_MIR_XSTATUS_UNKNOWN;
return ID_STATUS_ONLINE;