Skip to content

fix(twitch/chat): show moderator name on timeout/ban messages - #1257

Open
BennyyyBB wants to merge 1 commit into
SevenTV:masterfrom
BennyyyBB:mod-name-display-fix
Open

fix(twitch/chat): show moderator name on timeout/ban messages#1257
BennyyyBB wants to merge 1 commit into
SevenTV:masterfrom
BennyyyBB:mod-name-display-fix

Conversation

@BennyyyBB

Copy link
Copy Markdown

Description

According to issue #1237 Mods could not see who performed a timeout/ban in Twitch Chat,

With this fix "UserMessage.vue" rendes 'msg.moderation.actor''s name in the ban-state label when present and "ChatList.vue" now preserves an already-resolved "actor" instead of unconditionally resetting it to 'null'.
(Non-moderator viewers still won't see the actor's name, since Twitch never sends them the moderation_action topic in the first place as that's expected and unchanged.)

vue-tsc --noEmit and eslint on changed files showed no errors while testing, but I would appreaciate a test from someone with mod access on a channel testing this in a live chat.

Types of changes

  • Bugfix (non-breaking change which fixes an issue)

Checklist

  • I have read the CONTRIBUTING doc
  • I have added necessary documentation (if appropriate)
  • Any dependent changes have been merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant