summaryrefslogtreecommitdiff
path: root/protocols/SkypeClassic/src/skypesvc.cpp
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2014-08-22 17:40:09 +0000
committerRobert Pösel <robyer@seznam.cz>2014-08-22 17:40:09 +0000
commit18d8102ecb7b07663c0b052adee405ac9a75eb94 (patch)
tree39e5035dceecd0319f09dc03b6a50710cf75168d /protocols/SkypeClassic/src/skypesvc.cpp
parent4208aaa9a29f671cee67c3be64cbfe12f5d1f5e4 (diff)
SkypeClassic: Merge leecher's repo
* Added possibility to set Skypeout icon in configuration as requested by user. git-svn-id: http://svn.miranda-ng.org/main/trunk@10302 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeClassic/src/skypesvc.cpp')
-rw-r--r--protocols/SkypeClassic/src/skypesvc.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/protocols/SkypeClassic/src/skypesvc.cpp b/protocols/SkypeClassic/src/skypesvc.cpp
index df9ed9595f..4bf0de30ff 100644
--- a/protocols/SkypeClassic/src/skypesvc.cpp
+++ b/protocols/SkypeClassic/src/skypesvc.cpp
@@ -133,6 +133,7 @@ INT_PTR SkypeGetCaps(WPARAM wParam, LPARAM lParam) {
#endif
if (!db_get_b(NULL, SKYPE_PROTONAME, "NoSkype3Stats", 0))
ret |= PF2_LONGAWAY | PF2_FREECHAT;
+ ret |= Proto_Status2Flag(db_get_dw(NULL, SKYPE_PROTONAME, "SkypeOutStatusMode", ID_STATUS_ONTHEPHONE));
break;
case PFLAGNUM_3:
@@ -143,6 +144,9 @@ INT_PTR SkypeGetCaps(WPARAM wParam, LPARAM lParam) {
ret = PF4_FORCEAUTH | PF4_FORCEADDED | PF4_AVATARS | PF4_SUPPORTTYPING /* Not really, but libgaim compat. */;
if (mirandaVersion >= 0x070000) ret |= PF4_IMSENDUTF;
break;
+ case PFLAGNUM_5:
+ ret = Proto_Status2Flag(db_get_dw(NULL, SKYPE_PROTONAME, "SkypeOutStatusMode", ID_STATUS_ONTHEPHONE));
+ break;
case PFLAG_UNIQUEIDTEXT:
ret = (INT_PTR)Translate("Skype ID");
break;