From 5f811a30c9d5c991329bc5a1c242fbec40694ec4 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 24 Jan 2025 11:38:57 +0300 Subject: Weather: hide protocol from the status bar by default --- protocols/Weather/src/weather_proto.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'protocols/Weather/src') 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"); } -- cgit v1.2.3