Fix build issues w/ clang

remotes/origin/0.7.0-dev
Joseph Donofry 5 years ago
parent 6a14188cc4
commit 8d04236fbd
No known key found for this signature in database
GPG Key ID: E8A1D78EF044B0CB
  1. 2
      src/Cache.cpp
  2. 2
      src/ChatPage.cpp

@ -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 &notif) {
[](const mtx::responses::Notifications &notif) {
try {
cache::client()->saveTimelineMentions(notif);
} catch (const lmdb::error &e) {

Loading…
Cancel
Save