From 640251351617f50d58ec22b6cb15559077dbeb80 Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Tue, 1 Dec 2020 02:15:50 +0100 Subject: [PATCH] Use display-name instead of login for raid --- irc.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/irc.go b/irc.go index 2db0c87..d871ee4 100644 --- a/irc.go +++ b/irc.go @@ -197,7 +197,7 @@ func (ircHandler) handleTwitchUsernotice(m *irc.Message) { }).Info("Incoming raid") subscriptions.SendAllSockets(msgTypeRaid, map[string]interface{}{ - "from": m.Tags["login"], + "from": m.Tags["msg-param-displayName"], "viewerCount": m.Tags["msg-param-viewerCount"], })