diff options
author | George Hazan <george.hazan@gmail.com> | 2025-04-24 17:43:33 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2025-04-24 17:43:33 +0300 |
commit | 53e0b5f3ff938adf11b2237727510e07e23ffdb6 (patch) | |
tree | f1b89510e1ce480200ca9c85df4914a3641795db /protocols/Teams/src/teams_utils.cpp | |
parent | cb1fe45eefc98557069ac57bee75762e25f91e1e (diff) |
Teams: fix for private messages sending
Diffstat (limited to 'protocols/Teams/src/teams_utils.cpp')
-rw-r--r-- | protocols/Teams/src/teams_utils.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/protocols/Teams/src/teams_utils.cpp b/protocols/Teams/src/teams_utils.cpp index a71e9f7e4e..615ba7a5de 100644 --- a/protocols/Teams/src/teams_utils.cpp +++ b/protocols/Teams/src/teams_utils.cpp @@ -556,6 +556,9 @@ void CTeamsProto::setLastTime(MCONTACT hContact, int64_t iValue) char buf[100]; _i64toa(iValue, buf, 10); setString(hContact, "LastMsgTime", buf); + + if (iValue > getLastTime(0)) + setString("LastMsgTime", buf); } ////////////////////////////////////////////////////////////////////////////////////////// |