From bfdf87a92dc6a5a18c38fc04af61d306d69ac03c Mon Sep 17 00:00:00 2001 From: NepNep21 Date: Sun, 17 Dec 2023 20:17:43 -0300 Subject: Multiple changes More consistent language with similar description strings Add manpage entry Add /unignore Add ignore & decline button in the invite page Add invite rejection to all ignore methods --- src/CommandCompleter.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/CommandCompleter.cpp') diff --git a/src/CommandCompleter.cpp b/src/CommandCompleter.cpp index e1b91a8c..ee666559 100644 --- a/src/CommandCompleter.cpp +++ b/src/CommandCompleter.cpp @@ -99,6 +99,8 @@ CommandCompleter::data(const QModelIndex &index, int role) const return QStringLiteral("/converttoroom"); case Ignore: return QStringLiteral("/ignore"); + case Unignore: + return QStringLiteral("/unignore"); default: return {}; } @@ -174,6 +176,8 @@ CommandCompleter::data(const QModelIndex &index, int role) const return QStringLiteral("/converttoroom"); case Ignore: return QStringLiteral("/ignore <@userid>"); + case Unignore: + return QStringLiteral("/unignore <@userid>"); default: return {}; } @@ -248,7 +252,9 @@ CommandCompleter::data(const QModelIndex &index, int role) const case ConvertToRoom: return tr("Convert this direct chat into a room."); case Ignore: - return tr("Ignores a user."); + return tr("Ignore a user."); + case Unignore: + return tr("Stop ignoring a user."); default: return {}; } -- cgit 1.5.1