this is not needed for translations

pull/669/head
Nicolas Werner 3 years ago
parent e5a6b2b6ef
commit cc22309c5b
No known key found for this signature in database
GPG Key ID: C8D75E610773F2D9
  1. 4
      src/SingleImagePackModel.cpp

@ -255,7 +255,7 @@ void
SingleImagePackModel::save()
{
if (roomid_.empty()) {
http::client()->put_account_data(pack, [this](mtx::http::RequestErr e) {
http::client()->put_account_data(pack, [](mtx::http::RequestErr e) {
if (e)
ChatPage::instance()->showNotification(
tr("Failed to update image pack: {}")
@ -268,7 +268,7 @@ SingleImagePackModel::save()
to_string(mtx::events::EventType::ImagePackInRoom),
old_statekey_,
nlohmann::json::object(),
[this](const mtx::responses::EventId &, mtx::http::RequestErr e) {
[](const mtx::responses::EventId &, mtx::http::RequestErr e) {
if (e)
ChatPage::instance()->showNotification(
tr("Failed to delete old image pack: {}")

Loading…
Cancel
Save