summaryrefslogtreecommitdiff
path: root/protocols/Teams/src/teams_proto.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2025-05-02 13:36:02 +0300
committerGeorge Hazan <george.hazan@gmail.com>2025-05-02 13:36:02 +0300
commit581cbeaadf14c8edd466f2aad9cc4115f3d1f9ca (patch)
treef365522db297b833159bbbfc27a0e73ebb0be58b /protocols/Teams/src/teams_proto.cpp
parente9928ab7a1807960ce76cc50b73e58799c2e5a07 (diff)
Teams: fix for sending messages
Diffstat (limited to 'protocols/Teams/src/teams_proto.cpp')
-rw-r--r--protocols/Teams/src/teams_proto.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/protocols/Teams/src/teams_proto.cpp b/protocols/Teams/src/teams_proto.cpp
index 2e4164748d..842acdfc2c 100644
--- a/protocols/Teams/src/teams_proto.cpp
+++ b/protocols/Teams/src/teams_proto.cpp
@@ -92,7 +92,8 @@ void CTeamsProto::OnEventDeleted(MCONTACT hContact, MEVENT hDbEvent, int flags)
void CTeamsProto::OnEventEdited(MCONTACT hContact, MEVENT, const DBEVENTINFO &dbei)
{
- SendServerMsg(hContact, dbei.pBlob, dbei.iTimestamp);
+ if (dbei.szId)
+ SendServerMsg(hContact, dbei.pBlob, _atoi64(dbei.szId));
}
void CTeamsProto::OnModulesLoaded()