summaryrefslogtreecommitdiff
path: root/protocols/Steam/src/steam_history.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Steam/src/steam_history.cpp')
-rw-r--r--protocols/Steam/src/steam_history.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/protocols/Steam/src/steam_history.cpp b/protocols/Steam/src/steam_history.cpp
index 65c77f490c..c94a0d6b0f 100644
--- a/protocols/Steam/src/steam_history.cpp
+++ b/protocols/Steam/src/steam_history.cpp
@@ -41,9 +41,9 @@ void CSteamProto::OnGotRecentMessages(const CFriendMessagesGetRecentMessagesResp
setDword(hContact, DBKEY_LASTMSG, pMsg->timestamp);
dbei.szId = szMsgId;
- dbei.timestamp = pMsg->timestamp;
+ dbei.iTimestamp = pMsg->timestamp;
}
- else dbei.timestamp = time(0);
+ else dbei.iTimestamp = time(0);
if (dbei.getEvent())
db_event_edit(hEvent, &dbei, true);
@@ -107,10 +107,10 @@ void CSteamProto::OnGotHistoryMessages(const CMsgClientChatGetFriendMessageHisto
dbei.cbBlob = (int)mir_strlen(pMsg->message);
dbei.pBlob = mir_strdup(pMsg->message);
if (pMsg->has_timestamp) {
- dbei.timestamp = pMsg->timestamp;
+ dbei.iTimestamp = pMsg->timestamp;
dbei.szId = szMsgId;
}
- else dbei.timestamp = time(0);
+ else dbei.iTimestamp = time(0);
if (dbei.getEvent())
db_event_edit(hEvent, &dbei, true);