Change cache format to not allow duplicate receipts
Convert list of receipts to map<userId, timestamp>
This commit is contained in:
parent
fa8061c34b
commit
020a842aef
4 changed files with 15 additions and 33 deletions
|
|
@ -37,7 +37,7 @@ public:
|
|||
explicit ReadReceipts(QWidget *parent = nullptr);
|
||||
|
||||
public slots:
|
||||
void addUsers(const std::multimap<uint64_t, std::string> &users);
|
||||
void addUsers(const std::multimap<uint64_t, std::string, std::greater<uint64_t>> &users);
|
||||
|
||||
protected:
|
||||
void paintEvent(QPaintEvent *event) override;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue