summaryrefslogtreecommitdiff
path: root/plugins/MessageState/src/utils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/MessageState/src/utils.cpp')
-rw-r--r--plugins/MessageState/src/utils.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/MessageState/src/utils.cpp b/plugins/MessageState/src/utils.cpp
index 7f8bf81487..ca4c028ef8 100644
--- a/plugins/MessageState/src/utils.cpp
+++ b/plugins/MessageState/src/utils.cpp
@@ -2,8 +2,7 @@
time_t GetLastSentMessageTime(MCONTACT hContact)
{
- for (MEVENT hDbEvent = db_event_last(hContact); hDbEvent; hDbEvent = db_event_prev(hContact, hDbEvent))
- {
+ for (MEVENT hDbEvent = db_event_last(hContact); hDbEvent; hDbEvent = db_event_prev(hContact, hDbEvent)) {
DBEVENTINFO dbei = {};
db_event_get(hDbEvent, &dbei);
if (dbei.flags & DBEF_SENT)