summary refs log tree commit diff
path: root/src/timeline/CommunitiesModel.cpp
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2022-10-01 15:20:38 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2022-10-01 15:20:38 +0200
commit7ec842ba511702e9636d2420b8833b99c792f4df (patch)
treee99cda1024e90d8eb404ba2db53af567a2f8e9f5 /src/timeline/CommunitiesModel.cpp
parentFix wrong file urls (diff)
downloadnheko-7ec842ba511702e9636d2420b8833b99c792f4df.tar.xz
Replace some user visible mentions of spaces
Diffstat (limited to 'src/timeline/CommunitiesModel.cpp')
-rw-r--r--src/timeline/CommunitiesModel.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/timeline/CommunitiesModel.cpp b/src/timeline/CommunitiesModel.cpp
index 1b96d2d6..083f9668 100644
--- a/src/timeline/CommunitiesModel.cpp
+++ b/src/timeline/CommunitiesModel.cpp
@@ -808,7 +808,7 @@ CommunitiesModel::spaceChildrenListFromIndex(QString room, int idx) const
         }
     }
 
-    nhlog::ui()->critical("Returning {} spaces", ret.size());
+    // nhlog::ui()->critical("Returning {} spaces", ret.size());
     return ret;
 }
 
@@ -848,7 +848,7 @@ CommunitiesModel::updateSpaceStatus(QString space,
               [space, room](mtx::responses::EventId, mtx::http::RequestErr err) {
                   if (err) {
                       ChatPage::instance()->showNotification(
-                        tr("Failed to update space child: %1")
+                        tr("Failed to update community: %1")
                           .arg(QString::fromStdString(err->matrix_error.error)));
                       nhlog::net()->error("Failed to update child {} of {}: {}",
                                           room.toStdString(),
@@ -866,7 +866,7 @@ CommunitiesModel::updateSpaceStatus(QString space,
               [space, room](mtx::responses::EventId, mtx::http::RequestErr err) {
                   if (err) {
                       ChatPage::instance()->showNotification(
-                        tr("Failed to delete space child: %1")
+                        tr("Failed to delete room from community: %1")
                           .arg(QString::fromStdString(err->matrix_error.error)));
                       nhlog::net()->error("Failed to delete child {} of {}: {}",
                                           room.toStdString(),
@@ -889,7 +889,7 @@ CommunitiesModel::updateSpaceStatus(QString space,
               [space, room](mtx::responses::EventId, mtx::http::RequestErr err) {
                   if (err) {
                       ChatPage::instance()->showNotification(
-                        tr("Failed to update space parent: %1")
+                        tr("Failed to update community for room: %1")
                           .arg(QString::fromStdString(err->matrix_error.error)));
                       nhlog::net()->error("Failed to update parent {} of {}: {}",
                                           space.toStdString(),
@@ -907,7 +907,7 @@ CommunitiesModel::updateSpaceStatus(QString space,
               [space, room](mtx::responses::EventId, mtx::http::RequestErr err) {
                   if (err) {
                       ChatPage::instance()->showNotification(
-                        tr("Failed to delete space parent: %1")
+                        tr("Failed to remove community from room: %1")
                           .arg(QString::fromStdString(err->matrix_error.error)));
                       nhlog::net()->error("Failed to delete parent {} of {}: {}",
                                           space.toStdString(),