mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 11:00:48 +03:00
Fix build issues w/ clang
This commit is contained in:
parent
6a14188cc4
commit
8d04236fbd
2 changed files with 1 additions and 3 deletions
|
@ -1993,8 +1993,6 @@ Cache::getTimelineMentionsForRoom(lmdb::txn &txn, const std::string &room_id)
|
|||
void
|
||||
Cache::saveTimelineMentions(const mtx::responses::Notifications &res)
|
||||
{
|
||||
json notif = res;
|
||||
|
||||
QMap<std::string, QList<mtx::responses::Notification>> notifsByRoom;
|
||||
|
||||
// Sort into room-specific 'buckets'
|
||||
|
|
|
@ -526,7 +526,7 @@ ChatPage::ChatPage(QSharedPointer<UserSettings> userSettings, QWidget *parent)
|
|||
connect(this,
|
||||
&ChatPage::highlightedNotifsRetrieved,
|
||||
this,
|
||||
[this](const mtx::responses::Notifications ¬if) {
|
||||
[](const mtx::responses::Notifications ¬if) {
|
||||
try {
|
||||
cache::client()->saveTimelineMentions(notif);
|
||||
} catch (const lmdb::error &e) {
|
||||
|
|
Loading…
Reference in a new issue