mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 11:00:48 +03:00
Use QSet<QString> instead of QStringList
This commit is contained in:
parent
ec8820ac64
commit
9616ee51b3
1 changed files with 1 additions and 1 deletions
|
@ -253,7 +253,7 @@ InputBar::updateTextContentProperties(const QString &t)
|
|||
|
||||
// check for invalid commands
|
||||
auto commandName = getCommandAndArgs().first;
|
||||
static const QStringList validCommands{QStringLiteral("me"),
|
||||
static const QSet<QString> validCommands{QStringLiteral("me"),
|
||||
QStringLiteral("react"),
|
||||
QStringLiteral("join"),
|
||||
QStringLiteral("knock"),
|
||||
|
|
Loading…
Reference in a new issue