summary refs log tree commit diff
path: root/src/timeline
diff options
context:
space:
mode:
authorDeepBlueV7.X <nicolas.werner@hotmail.de>2022-10-03 21:37:01 +0000
committerGitHub <noreply@github.com>2022-10-03 21:37:01 +0000
commit5e9eb845ab2f7f84c440a60666999655a084038f (patch)
treef6d576234859beedb55194a8496a13f3d526942e /src/timeline
parentFixed a crash in member list loading (#1199) (diff)
parentRemove unnecessary emit (diff)
downloadnheko-5e9eb845ab2f7f84c440a60666999655a084038f.tar.xz
Merge pull request #1202 from Nheko-Reborn/grammar
Grammar
Diffstat (limited to 'src/timeline')
-rw-r--r--src/timeline/TimelineModel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/timeline/TimelineModel.cpp b/src/timeline/TimelineModel.cpp
index 7c718ca8..13ebd506 100644
--- a/src/timeline/TimelineModel.cpp
+++ b/src/timeline/TimelineModel.cpp
@@ -1958,7 +1958,7 @@ TimelineModel::formatJoinRuleEvent(const QString &id)
     case mtx::events::state::JoinRule::Public:
         return tr("%1 opened the room to the public.").arg(name);
     case mtx::events::state::JoinRule::Invite:
-        return tr("%1 made this room require and invitation to join.").arg(name);
+        return tr("%1 made this room require an invitation to join.").arg(name);
     case mtx::events::state::JoinRule::Knock:
         return tr("%1 allowed to join this room by knocking.").arg(name);
     case mtx::events::state::JoinRule::Restricted: {