summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorNepNep21 <nepnep91@protonmail.com>2023-12-19 21:44:19 -0300
committerNepNep21 <nepnep91@protonmail.com>2023-12-19 21:44:19 -0300
commit1295e84020b23f549aa5474fdeb282d399a3c369 (patch)
tree393cbc70acac3deda97c64f31f4c25c2ac85c098 /src
parentImprove naming (diff)
downloadnheko-1295e84020b23f549aa5474fdeb282d399a3c369.tar.xz
Other occurences
Diffstat (limited to 'src')
-rw-r--r--src/timeline/InputBar.cpp4
-rw-r--r--src/timeline/InputBar.h2
2 files changed, 3 insertions, 3 deletions
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_;