summaryrefslogtreecommitdiff
path: root/protocols/Steam/src/steam_messages.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2024-12-18 20:12:17 +0300
committerGeorge Hazan <george.hazan@gmail.com>2024-12-18 20:12:17 +0300
commit7dacd72d5ac2d237e31714f1e9993d3a8130a8a4 (patch)
treeecd41bd04ae216f9b2832cda6e2e35210affcd1d /protocols/Steam/src/steam_messages.cpp
parentace6bf1bd1e110ac93da464b2b7d75cafef0b415 (diff)
more logs
Diffstat (limited to 'protocols/Steam/src/steam_messages.cpp')
-rw-r--r--protocols/Steam/src/steam_messages.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/protocols/Steam/src/steam_messages.cpp b/protocols/Steam/src/steam_messages.cpp
index 25ccc07800..47a7504088 100644
--- a/protocols/Steam/src/steam_messages.cpp
+++ b/protocols/Steam/src/steam_messages.cpp
@@ -59,6 +59,8 @@ void CSteamProto::OnGotIncomingMessage(const CFriendMessagesIncomingMessageNotif
DB::EventInfo dbei;
dbei.flags = DBEF_UTF;
+ if (reply.has_local_echo && reply.local_echo)
+ dbei.flags |= DBEF_SENT;
dbei.cbBlob = (int)mir_strlen(reply.message);
dbei.pBlob = reply.message;
dbei.timestamp = reply.has_rtime32_server_timestamp ? reply.rtime32_server_timestamp : time(0);