Remove some unused functions
This commit is contained in:
parent
4a80fdc951
commit
573624a490
3 changed files with 2 additions and 53 deletions
|
|
@ -777,6 +777,8 @@ ChatPage::inviteUser(QString userid, QString reason)
|
|||
userid.toStdString(),
|
||||
[this, userid, room](const mtx::responses::Empty &, mtx::http::RequestErr err) {
|
||||
if (err) {
|
||||
nhlog::net()->error(
|
||||
"Failed to invite {} to {}: {}", userid.toStdString(), room.toStdString(), *err);
|
||||
emit showNotification(
|
||||
tr("Failed to invite %1 to %2: %3")
|
||||
.arg(userid, room, QString::fromStdString(err->matrix_error.error)));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue