diff options
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 842acdfc2c..a9462bec8d 100644 --- a/protocols/Teams/src/teams_proto.cpp +++ b/protocols/Teams/src/teams_proto.cpp @@ -32,6 +32,13 @@ CTeamsProto::CTeamsProto(const char *protoName, const wchar_t *userName) : m_wstrMoodEmoji(this, "MoodEmoji", L""), m_wstrMoodMessage(this, "XStatusMsg", L"") { + // create endpoint + m_szEndpoint = getMStringA("Endpoint"); + if (m_szEndpoint.IsEmpty()) { + m_szEndpoint = Utils_GenerateUUID(); + setString("Endpoint", m_szEndpoint); + } + // network NETLIBUSER nlu = {}; nlu.flags = NUF_OUTGOING | NUF_INCOMING | NUF_HTTPCONNS | NUF_UNICODE; |
