diff --git a/src/messages/MessageBuilder.cpp b/src/messages/MessageBuilder.cpp index 49b6399cd..411f170d7 100644 --- a/src/messages/MessageBuilder.cpp +++ b/src/messages/MessageBuilder.cpp @@ -384,7 +384,7 @@ EmotePtr makeAutoModBadge() EmotePtr makeSharedChatBadge(const QString &sourceName) { return std::make_shared( - Emote{"SharedChat_" + sourceName, + Emote{EmoteName{}, ImageSet{Image::fromResourcePixmap( getResources().twitch.sharedChat, 0.25)}, Tooltip{"Shared Message" + diff --git a/tests/snapshots/IrcMessageHandler/shared-chat-announcement.json b/tests/snapshots/IrcMessageHandler/shared-chat-announcement.json index 7e3ad232a..a6877c365 100644 --- a/tests/snapshots/IrcMessageHandler/shared-chat-announcement.json +++ b/tests/snapshots/IrcMessageHandler/shared-chat-announcement.json @@ -70,7 +70,7 @@ "images": { "1x": "" }, - "name": "SharedChat_", + "name": "", "tooltip": "Shared Message" }, "flags": "BadgeSharedChannel", diff --git a/tests/snapshots/IrcMessageHandler/shared-chat-emotes.json b/tests/snapshots/IrcMessageHandler/shared-chat-emotes.json index f3ef24534..ba6485c21 100644 --- a/tests/snapshots/IrcMessageHandler/shared-chat-emotes.json +++ b/tests/snapshots/IrcMessageHandler/shared-chat-emotes.json @@ -70,7 +70,7 @@ "images": { "1x": "" }, - "name": "SharedChat_twitchdev", + "name": "", "tooltip": "Shared Message from twitchdev" }, "flags": "BadgeSharedChannel", diff --git a/tests/snapshots/IrcMessageHandler/shared-chat-known.json b/tests/snapshots/IrcMessageHandler/shared-chat-known.json index 653ccb0ff..c4a3f3e2f 100644 --- a/tests/snapshots/IrcMessageHandler/shared-chat-known.json +++ b/tests/snapshots/IrcMessageHandler/shared-chat-known.json @@ -70,7 +70,7 @@ "images": { "1x": "" }, - "name": "SharedChat_twitchdev", + "name": "", "tooltip": "Shared Message from twitchdev" }, "flags": "BadgeSharedChannel", diff --git a/tests/snapshots/IrcMessageHandler/shared-chat-unknown.json b/tests/snapshots/IrcMessageHandler/shared-chat-unknown.json index a99e1b1e9..6ea80b2ce 100644 --- a/tests/snapshots/IrcMessageHandler/shared-chat-unknown.json +++ b/tests/snapshots/IrcMessageHandler/shared-chat-unknown.json @@ -70,7 +70,7 @@ "images": { "1x": "" }, - "name": "SharedChat_", + "name": "", "tooltip": "Shared Message" }, "flags": "BadgeSharedChannel",