Use display-name instead of login for raid

This commit is contained in:
Knut Ahlers 2020-12-01 02:15:50 +01:00
parent 8f86a370f6
commit 6402513516
Signed by: luzifer
GPG key ID: 0066F03ED215AD7D

2
irc.go
View file

@ -197,7 +197,7 @@ func (ircHandler) handleTwitchUsernotice(m *irc.Message) {
}).Info("Incoming raid") }).Info("Incoming raid")
subscriptions.SendAllSockets(msgTypeRaid, map[string]interface{}{ subscriptions.SendAllSockets(msgTypeRaid, map[string]interface{}{
"from": m.Tags["login"], "from": m.Tags["msg-param-displayName"],
"viewerCount": m.Tags["msg-param-viewerCount"], "viewerCount": m.Tags["msg-param-viewerCount"],
}) })