Fix linting issues w/ the last commit

This commit is contained in:
Joseph Donofry 2019-08-09 23:36:45 -04:00
parent 3f563e1e6e
commit 7c7889a04d
No known key found for this signature in database
GPG key ID: E8A1D78EF044B0CB
3 changed files with 5 additions and 5 deletions

View file

@ -1253,7 +1253,6 @@ Cache::getTimelineMentions()
return notifs; return notifs;
} }
mtx::responses::Timeline mtx::responses::Timeline
Cache::getTimelineMessages(lmdb::txn &txn, const std::string &room_id) Cache::getTimelineMessages(lmdb::txn &txn, const std::string &room_id)
{ {
@ -2022,7 +2021,8 @@ Cache::saveTimelineMentions(lmdb::txn &txn,
int i = 0; int i = 0;
for (const auto &notif : res) { for (const auto &notif : res) {
nhlog::db()->debug("Storing notification " + std::to_string(i++) + " for room " + room_id); nhlog::db()->debug("Storing notification " + std::to_string(i++) + " for room " +
room_id);
const auto event_id = utils::event_id(notif.event); const auto event_id = utils::event_id(notif.event);
// double check that we have the correct room_id... // double check that we have the correct room_id...