summaryrefslogtreecommitdiff
path: root/protocols/Weather/src
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2025-01-24 11:38:57 +0300
committerGeorge Hazan <george.hazan@gmail.com>2025-01-24 11:38:57 +0300
commit5f811a30c9d5c991329bc5a1c242fbec40694ec4 (patch)
treeac291fb86594ef953ead0bca8c822eb0b37607a2 /protocols/Weather/src
parentd9d5ee94b2fb6fe8dff7f95404a3f86caa72607a (diff)
Weather: hide protocol from the status bar by default
Diffstat (limited to 'protocols/Weather/src')
-rw-r--r--protocols/Weather/src/weather_proto.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/protocols/Weather/src/weather_proto.cpp b/protocols/Weather/src/weather_proto.cpp
index 98a011e099..6adf31846c 100644
--- a/protocols/Weather/src/weather_proto.cpp
+++ b/protocols/Weather/src/weather_proto.cpp
@@ -121,14 +121,12 @@ INT_PTR CWeatherProto::GetCaps(int type, MCONTACT)
return PF1_BASICSEARCH | PF1_ADDSEARCHRES | PF1_EXTSEARCH | PF1_MODEMSGRECV;
case PFLAGNUM_2:
+ case PFLAGNUM_5:
return PF2_ONLINE | PF2_INVISIBLE | PF2_SHORTAWAY | PF2_LONGAWAY | PF2_LIGHTDND | PF2_HEAVYDND | PF2_FREECHAT;
case PFLAGNUM_4:
return PF4_AVATARS | PF4_NOCUSTOMAUTH | PF4_NOAUTHDENYREASON | PF4_FORCEAUTH;
- case PFLAGNUM_5: /* this is PFLAGNUM_5 change when alpha SDK is released */
- return PF2_INVISIBLE | PF2_SHORTAWAY | PF2_LONGAWAY | PF2_LIGHTDND | PF2_HEAVYDND | PF2_FREECHAT;
-
case PFLAG_UNIQUEIDTEXT:
return (INT_PTR)TranslateT("Station ID");
}