Fix eventsub message delete disable (#6233)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
This commit is contained in:
@@ -39,6 +39,7 @@
|
|||||||
- Bugfix: Fixed a crash that could occur when an image started loading mid app shutdown. (#6213)
|
- Bugfix: Fixed a crash that could occur when an image started loading mid app shutdown. (#6213)
|
||||||
- Bugfix: Fixed some minor typos. (#6196)
|
- Bugfix: Fixed some minor typos. (#6196)
|
||||||
- Bugfix: Fixed inconsistent spaces in messages when using fractional scaling. (#6231, #6254)
|
- Bugfix: Fixed inconsistent spaces in messages when using fractional scaling. (#6231, #6254)
|
||||||
|
- Bugfix: Fixed eventsub message delete notifications not being affected by "Show deletions of single messages". (#6233)
|
||||||
- Bugfix: Don't add reply buttons to messages that are invalid reply targets. (#6119)
|
- Bugfix: Don't add reply buttons to messages that are invalid reply targets. (#6119)
|
||||||
- Bugfix: Fixed invalid commands from being forwarded to Helix, making it possible for information to leak (e.g. if you typed `/bann username ban reason` it would be seen by others in chat as `username ban reason`). (#6272)
|
- Bugfix: Fixed invalid commands from being forwarded to Helix, making it possible for information to leak (e.g. if you typed `/bann username ban reason` it would be seen by others in chat as `username ban reason`). (#6272)
|
||||||
- Dev: Mini refactor of Split. (#6148)
|
- Dev: Mini refactor of Split. (#6148)
|
||||||
|
|||||||
@@ -188,6 +188,11 @@ void Connection::onChannelModerate(
|
|||||||
|
|
||||||
if constexpr (CanMakeModMessage<Action>)
|
if constexpr (CanMakeModMessage<Action>)
|
||||||
{
|
{
|
||||||
|
// FIXME: This message should still be added, but instead hidden during layout if the setting is enabled.
|
||||||
|
if (getSettings()->hideDeletionActions)
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
EventSubMessageBuilder builder(channel, now);
|
EventSubMessageBuilder builder(channel, now);
|
||||||
builder->loginName = payload.event.moderatorUserLogin.qt();
|
builder->loginName = payload.event.moderatorUserLogin.qt();
|
||||||
makeModerateMessage(builder, payload.event, action);
|
makeModerateMessage(builder, payload.event, action);
|
||||||
|
|||||||
Reference in New Issue
Block a user