Get better timeout messages for self (#1629)

* Don't require mod rights to listen to moderation actions topic

* Format timeout messages directed at you differently

e.g. "You were banned" or "You were timed out for 4h20m", also including
reason if specified.
This commit is contained in:
pajlada
2020-04-13 06:31:06 -04:00
committed by GitHub
parent 2ac0b60952
commit 6f926e7d77
2 changed files with 58 additions and 26 deletions
-3
View File
@@ -600,9 +600,6 @@ void TwitchChannel::loadRecentMessages()
void TwitchChannel::refreshPubsub()
{
// listen to moderation actions
if (!this->hasModRights())
return;
auto roomId = this->roomId();
if (roomId.isEmpty())
return;