mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
Only use the "duplicate message" functionality if user is not a
moderator
This commit is contained in:
parent
715d208b6d
commit
8bb3ad1bf5
1 changed files with 5 additions and 3 deletions
|
@ -162,9 +162,11 @@ void TwitchChannel::sendMessage(const QString &message)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (app->settings->allowDuplicateMessages) {
|
if (!this->hasModRights()) {
|
||||||
if (parsedMessage == this->lastSentMessage) {
|
if (app->settings->allowDuplicateMessages) {
|
||||||
parsedMessage.append(this->messageSuffix);
|
if (parsedMessage == this->lastSentMessage) {
|
||||||
|
parsedMessage.append(this->messageSuffix);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue