diff options
| author | George Hazan <george.hazan@gmail.com> | 2025-04-17 18:18:13 +0300 |
|---|---|---|
| committer | George Hazan <george.hazan@gmail.com> | 2025-04-17 18:18:13 +0300 |
| commit | 536b626a052525f226165f3834f4ea06c6a7ad11 (patch) | |
| tree | 0417fc6d68aafc7dff4345ed5fd367709969090f /protocols/Teams/src/teams_proto.cpp | |
| parent | edd9531655f0462bbb7f4b11e514d5f2569228af (diff) | |
Teams: finally the problem with statuses is solved
Diffstat (limited to 'protocols/Teams/src/teams_proto.cpp')
| -rw-r--r-- | protocols/Teams/src/teams_proto.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/protocols/Teams/src/teams_proto.cpp b/protocols/Teams/src/teams_proto.cpp index 4744e9f9a4..16f2b6b0db 100644 --- a/protocols/Teams/src/teams_proto.cpp +++ b/protocols/Teams/src/teams_proto.cpp @@ -117,8 +117,7 @@ INT_PTR CTeamsProto::GetCaps(int type, MCONTACT) return PF1_IM | PF1_AUTHREQ | PF1_CHAT | PF1_BASICSEARCH | PF1_MODEMSG | PF1_FILE | PF1_SERVERCLIST; case PFLAGNUM_2: case PFLAGNUM_3: - // return PF2_ONLINE | PF2_SHORTAWAY | PF2_LONGAWAY | PF2_LIGHTDND | PF2_HEAVYDND; - return PF2_ONLINE; + return PF2_ONLINE | PF2_SHORTAWAY | PF2_LONGAWAY | PF2_LIGHTDND | PF2_HEAVYDND; case PFLAGNUM_4: return PF4_NOAUTHDENYREASON | PF4_SUPPORTTYPING | PF4_AVATARS | PF4_IMSENDOFFLINE | PF4_OFFLINEFILES | PF4_SERVERMSGID | PF4_SERVERFORMATTING; case PFLAG_UNIQUEIDTEXT: @@ -222,9 +221,6 @@ int CTeamsProto::SetStatus(int iNewStatus) if (iNewStatus == m_iDesiredStatus) return 0; - if (iNewStatus != ID_STATUS_OFFLINE) - iNewStatus = ID_STATUS_ONLINE; - debugLogA(__FUNCTION__ ": changing status from %i to %i", m_iStatus, iNewStatus); int old_status = m_iStatus; |
