aboutsummaryrefslogtreecommitdiff
path: root/lib/connection.cpp
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2018-12-08 17:44:42 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2018-12-08 17:44:42 +0900
commit3489b77bba1b9429925dfe9539c2a9e8137fc622 (patch)
tree59a7cb3bc7b25eee12a37c43db4c069b7c240464 /lib/connection.cpp
parent39204f0099e5556eb46bed00f3b31413af860a45 (diff)
parent5ea115d6eb0b60dfd0c2be5fbe5e69615b133238 (diff)
downloadlibquotient-3489b77bba1b9429925dfe9539c2a9e8137fc622.tar.gz
libquotient-3489b77bba1b9429925dfe9539c2a9e8137fc622.zip
Merge branch 'kitsune-tweaks-fixes'
Diffstat (limited to 'lib/connection.cpp')
-rw-r--r--lib/connection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/connection.cpp b/lib/connection.cpp
index 9372acd5..26c33767 100644
--- a/lib/connection.cpp
+++ b/lib/connection.cpp
@@ -825,7 +825,7 @@ QHash<QString, QVector<Room*>> Connection::tagsToRooms() const
for (auto it = result.begin(); it != result.end(); ++it)
std::sort(it->begin(), it->end(),
[t=it.key()] (Room* r1, Room* r2) {
- return r1->tags().value(t).order < r2->tags().value(t).order;
+ return r1->tags().value(t) < r2->tags().value(t);
});
return result;
}