mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 03:00:46 +03:00
Other occurences
This commit is contained in:
parent
7c57292c6d
commit
1295e84020
2 changed files with 3 additions and 3 deletions
|
@ -941,9 +941,9 @@ InputBar::command(const QString &command, QString args)
|
||||||
} else if (command == QLatin1String("converttoroom")) {
|
} else if (command == QLatin1String("converttoroom")) {
|
||||||
utils::removeDirectFromRoom(this->room->roomId());
|
utils::removeDirectFromRoom(this->room->roomId());
|
||||||
} else if (command == QLatin1String("ignore")) {
|
} else if (command == QLatin1String("ignore")) {
|
||||||
this->setArgIgnored(args, true);
|
this->toggleIgnore(args, true);
|
||||||
} else if (command == QLatin1String("unignore")) {
|
} else if (command == QLatin1String("unignore")) {
|
||||||
this->setArgIgnored(args, false);
|
this->toggleIgnore(args, false);
|
||||||
} else {
|
} else {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
|
@ -283,7 +283,7 @@ private:
|
||||||
|
|
||||||
void updateTextContentProperties(const QString &t);
|
void updateTextContentProperties(const QString &t);
|
||||||
|
|
||||||
void setArgIgnored(const QString &user, const bool ignored);
|
void toggleIgnore(const QString &user, const bool ignored);
|
||||||
|
|
||||||
QTimer typingRefresh_;
|
QTimer typingRefresh_;
|
||||||
QTimer typingTimeout_;
|
QTimer typingTimeout_;
|
||||||
|
|
Loading…
Reference in a new issue