mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-26 04:58:49 +03:00
this is not needed for translations
This commit is contained in:
parent
e5a6b2b6ef
commit
cc22309c5b
1 changed files with 2 additions and 2 deletions
|
@ -255,7 +255,7 @@ void
|
||||||
SingleImagePackModel::save()
|
SingleImagePackModel::save()
|
||||||
{
|
{
|
||||||
if (roomid_.empty()) {
|
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)
|
if (e)
|
||||||
ChatPage::instance()->showNotification(
|
ChatPage::instance()->showNotification(
|
||||||
tr("Failed to update image pack: {}")
|
tr("Failed to update image pack: {}")
|
||||||
|
@ -268,7 +268,7 @@ SingleImagePackModel::save()
|
||||||
to_string(mtx::events::EventType::ImagePackInRoom),
|
to_string(mtx::events::EventType::ImagePackInRoom),
|
||||||
old_statekey_,
|
old_statekey_,
|
||||||
nlohmann::json::object(),
|
nlohmann::json::object(),
|
||||||
[this](const mtx::responses::EventId &, mtx::http::RequestErr e) {
|
[](const mtx::responses::EventId &, mtx::http::RequestErr e) {
|
||||||
if (e)
|
if (e)
|
||||||
ChatPage::instance()->showNotification(
|
ChatPage::instance()->showNotification(
|
||||||
tr("Failed to delete old image pack: {}")
|
tr("Failed to delete old image pack: {}")
|
||||||
|
|
Loading…
Reference in a new issue