summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/RoomList.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/RoomList.cc b/src/RoomList.cc

index a47c73a6..0274cefe 100644 --- a/src/RoomList.cc +++ b/src/RoomList.cc
@@ -328,7 +328,7 @@ RoomList::sortRoomsByLastMessage() if (room->lastMessageInfo().userid.isEmpty()) times.emplace(0, room); else - times.emplace(room->lastMessageInfo().datetime.toSecsSinceEpoch(), room); + times.emplace(room->lastMessageInfo().datetime.toMSecsSinceEpoch(), room); } for (auto it = times.cbegin(); it != times.cend(); ++it) {