diff options
| author | George Hazan <george.hazan@gmail.com> | 2025-04-11 18:10:09 +0300 |
|---|---|---|
| committer | George Hazan <george.hazan@gmail.com> | 2025-04-11 18:10:09 +0300 |
| commit | 17ec7bcbd5cb500f73c81c0275c0200b9bf4a2f1 (patch) | |
| tree | 016391b6ef9d0b307f03db759217120046b11326 /protocols/Teams/src/teams_proto.h | |
| parent | 9bd79fa9cbff4a517d171c58e8c2ad2d4fa7a02c (diff) | |
fixes #4963 (Teams: невозможно изменить статус после подключения)
Diffstat (limited to 'protocols/Teams/src/teams_proto.h')
| -rw-r--r-- | protocols/Teams/src/teams_proto.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/protocols/Teams/src/teams_proto.h b/protocols/Teams/src/teams_proto.h index 2cff3431e3..c14892a0c1 100644 --- a/protocols/Teams/src/teams_proto.h +++ b/protocols/Teams/src/teams_proto.h @@ -2,6 +2,8 @@ #define TEAMS_CLIENTINFO_NAME "skypeteams" #define TEAMS_CLIENTINFO_VERSION "49/24062722442" +#define TEAMS_BASE_HOST "teams.live.com" + #define TEAMS_USER_AGENT "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0 Teams/24165.1410.2974.6689/49" #define DBKEY_ID "id" @@ -317,8 +319,7 @@ private: static time_t IsoToUnixTime(const std::string &stamp); - static int SkypeToMirandaStatus(const char *status); - static const char *MirandaToSkypeStatus(int status); + void SetServerStatus(int iStatus); void ShowNotification(const wchar_t *message, MCONTACT hContact = NULL); void ShowNotification(const wchar_t *caption, const wchar_t *message, MCONTACT hContact = NULL, int type = 0); |
