diff --git a/src/messages/MessageBuilder.cpp b/src/messages/MessageBuilder.cpp index 411f170d7..601ba8ec9 100644 --- a/src/messages/MessageBuilder.cpp +++ b/src/messages/MessageBuilder.cpp @@ -383,13 +383,14 @@ EmotePtr makeAutoModBadge() EmotePtr makeSharedChatBadge(const QString &sourceName) { - return std::make_shared( - Emote{EmoteName{}, - ImageSet{Image::fromResourcePixmap( - getResources().twitch.sharedChat, 0.25)}, - Tooltip{"Shared Message" + - (sourceName.isEmpty() ? "" : " from " + sourceName)}, - Url{"https://link.twitch.tv/SharedChatViewer"}}); + return std::make_shared(Emote{ + .name = EmoteName{}, + .images = ImageSet{Image::fromResourcePixmap( + getResources().twitch.sharedChat, 0.25)}, + .tooltip = Tooltip{"Shared Message" + + (sourceName.isEmpty() ? "" : " from " + sourceName)}, + .homePage = Url{"https://link.twitch.tv/SharedChatViewer"}, + }); } std::tuple, MessageElementFlags, bool> parseEmote(