diff options
author | George Hazan <george.hazan@gmail.com> | 2025-04-04 12:55:49 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2025-04-04 12:55:49 +0300 |
commit | 1f5e65c6071cd72ab0b65fcafe26e62c7fce00a5 (patch) | |
tree | b343e860d741cef9d5185c25ee67ea1dbdb3357c /protocols/Teams/src/teams_proto.cpp | |
parent | fc73bfb84eeaf09ef147774c92ea2b8592032122 (diff) |
separate HNETLIBUSER for websocket
Diffstat (limited to 'protocols/Teams/src/teams_proto.cpp')
-rw-r--r-- | protocols/Teams/src/teams_proto.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/protocols/Teams/src/teams_proto.cpp b/protocols/Teams/src/teams_proto.cpp index d452c09781..422904ad2e 100644 --- a/protocols/Teams/src/teams_proto.cpp +++ b/protocols/Teams/src/teams_proto.cpp @@ -39,6 +39,13 @@ CTeamsProto::CTeamsProto(const char *protoName, const wchar_t *userName) : nlu.szSettingsModule = m_szModuleName; m_hNetlibUser = Netlib_RegisterUser(&nlu); + CMStringA module(FORMAT, "%s.TRouter", m_szModuleName); + CMStringW descr(FORMAT, TranslateT("%s websocket connection"), m_tszUserName); + nlu.szSettingsModule = module.GetBuffer(); + nlu.flags = NUF_INCOMING | NUF_OUTGOING | NUF_UNICODE; + nlu.szDescriptiveName.w = descr.GetBuffer(); + m_hTrouterNetlibUser = Netlib_RegisterUser(&nlu); + CreateProtoService(PS_GETAVATARINFO, &CTeamsProto::SvcGetAvatarInfo); CreateProtoService(PS_GETAVATARCAPS, &CTeamsProto::SvcGetAvatarCaps); CreateProtoService(PS_GETMYAVATAR, &CTeamsProto::SvcGetMyAvatar); |