commit
ea5f6ca0f4
19 changed files with 138 additions and 107 deletions
|
|
@ -164,7 +164,7 @@ MainWindow::MainWindow(QWidget *parent)
|
|||
try {
|
||||
using namespace mtx::identifiers;
|
||||
http::client()->set_user(parse<User>(user_id.toStdString()));
|
||||
} catch (const std::invalid_argument &e) {
|
||||
} catch (const std::invalid_argument &) {
|
||||
nhlog::ui()->critical("bootstrapped with invalid user_id: {}",
|
||||
user_id.toStdString());
|
||||
}
|
||||
|
|
@ -473,7 +473,7 @@ MainWindow::openReadReceiptsDialog(const QString &event_id)
|
|||
|
||||
try {
|
||||
dialog->addUsers(cache::readReceipts(event_id, room_id));
|
||||
} catch (const lmdb::error &e) {
|
||||
} catch (const lmdb::error &) {
|
||||
nhlog::db()->warn("failed to retrieve read receipts for {} {}",
|
||||
event_id.toStdString(),
|
||||
chat_page_->currentRoom().toStdString());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue