summary refs log tree commit diff
path: root/src/dialogs
diff options
context:
space:
mode:
authorKonstantinos Sideris <sideris.konstantin@gmail.com>2018-01-14 23:33:12 +0200
committerKonstantinos Sideris <sideris.konstantin@gmail.com>2018-01-14 23:37:38 +0200
commit020a842aefe6c602428fa8e85e3f5bfa1239b666 (patch)
treed37db3dfac0796c248976c461c686682f5f05086 /src/dialogs
parentCheck if the linuxdeployqt-AppDir does exist before downloading (#205) (diff)
downloadnheko-020a842aefe6c602428fa8e85e3f5bfa1239b666.tar.xz
Change cache format to not allow duplicate receipts
Convert list of receipts to map<userId, timestamp>
Diffstat (limited to 'src/dialogs')
-rw-r--r--src/dialogs/ReadReceipts.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dialogs/ReadReceipts.cc b/src/dialogs/ReadReceipts.cc

index feb382de..51470c67 100644 --- a/src/dialogs/ReadReceipts.cc +++ b/src/dialogs/ReadReceipts.cc
@@ -96,7 +96,7 @@ ReadReceipts::ReadReceipts(QWidget *parent) } void -ReadReceipts::addUsers(const std::multimap<uint64_t, std::string> &receipts) +ReadReceipts::addUsers(const std::multimap<uint64_t, std::string, std::greater<uint64_t>> &receipts) { // We want to remove any previous items that have been set. userList_->clear();