summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorLcsTen <lcs10.twinoid@gmail.com>2023-03-09 19:11:43 +0100
committerLcsTen <lcs10.twinoid@gmail.com>2023-03-11 13:19:04 +0100
commitf186e56121bd078b9bd1ebd49fd57c28fd3ec64f (patch)
treed8ce2535d061eba3948bf5c49721f3a9951973e1 /src
parentDon't show inaccessible private rooms in spaces (diff)
downloadnheko-f186e56121bd078b9bd1ebd49fd57c28fd3ec64f.tar.xz
Show an appropriate hint if the room is inaccessible
Diffstat (limited to 'src')
-rw-r--r--src/timeline/RoomlistModel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/timeline/RoomlistModel.cpp b/src/timeline/RoomlistModel.cpp
index cb23a12d..17226977 100644
--- a/src/timeline/RoomlistModel.cpp
+++ b/src/timeline/RoomlistModel.cpp
@@ -222,7 +222,7 @@ RoomlistModel::data(const QModelIndex &index, int role) const
             case Roles::RoomName:
                 return tr("No preview available");
             case Roles::LastMessage:
-                return QString();
+                return tr("This room is possibly inaccessible");
             case Roles::Time:
                 return QString();
             case Roles::Timestamp: