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/timeline/InputBar.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/timeline/InputBar.h') diff --git a/src/timeline/InputBar.h b/src/timeline/InputBar.h index b15377fc..cbde0e07 100644 --- a/src/timeline/InputBar.h +++ b/src/timeline/InputBar.h @@ -283,6 +283,8 @@ private: void updateTextContentProperties(const QString &t); + void setArgIgnored(const QString &user, const bool ignored); + QTimer typingRefresh_; QTimer typingTimeout_; TimelineModel *room; -- cgit 1.5.1 From 1295e84020b23f549aa5474fdeb282d399a3c369 Mon Sep 17 00:00:00 2001 From: NepNep21 Date: Tue, 19 Dec 2023 21:44:19 -0300 Subject: Other occurences --- src/timeline/InputBar.cpp | 4 ++-- src/timeline/InputBar.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/timeline/InputBar.h') diff --git a/src/timeline/InputBar.cpp b/src/timeline/InputBar.cpp index 224709ea..191aebdc 100644 --- a/src/timeline/InputBar.cpp +++ b/src/timeline/InputBar.cpp @@ -941,9 +941,9 @@ InputBar::command(const QString &command, QString args) } else if (command == QLatin1String("converttoroom")) { utils::removeDirectFromRoom(this->room->roomId()); } else if (command == QLatin1String("ignore")) { - this->setArgIgnored(args, true); + this->toggleIgnore(args, true); } else if (command == QLatin1String("unignore")) { - this->setArgIgnored(args, false); + this->toggleIgnore(args, false); } else { return false; } diff --git a/src/timeline/InputBar.h b/src/timeline/InputBar.h index cbde0e07..fbf08343 100644 --- a/src/timeline/InputBar.h +++ b/src/timeline/InputBar.h @@ -283,7 +283,7 @@ private: void updateTextContentProperties(const QString &t); - void setArgIgnored(const QString &user, const bool ignored); + void toggleIgnore(const QString &user, const bool ignored); QTimer typingRefresh_; QTimer typingTimeout_; -- cgit 1.5.1