Skip to content

feat: show mod/VIP badges from shared chats#6653

Merged
pajlada merged 9 commits intoChatterino:masterfrom
jupjohn:feature/6651-shared-chat-mod-vip-badges
Jan 2, 2026
Merged

feat: show mod/VIP badges from shared chats#6653
pajlada merged 9 commits intoChatterino:masterfrom
jupjohn:feature/6651-shared-chat-mod-vip-badges

Conversation

@jupjohn
Copy link
Copy Markdown
Contributor

@jupjohn jupjohn commented Dec 14, 2025

This PR aims to show mod & VIP badges from users in shared chats. It also adds the channel name to the mod/VIP badge's tooltip to further distinguish the source channel.

This can be tested by reverting afbbadb8 and using the /debug-test shared-chat-badge-messages. You may have to run this command twice; the first time seems to not pick up the shared channel's profile picture or name.

TODO: update snapshot tests.

Demo

Chatterino2_6651_SharedChatChannelBadges.mp4

Closes #6651.

@jupjohn jupjohn force-pushed the feature/6651-shared-chat-mod-vip-badges branch from a88a7fd to b88aee2 Compare December 14, 2025 01:23
@Nerixyz
Copy link
Copy Markdown
Contributor

Nerixyz commented Dec 14, 2025

/debug-test shared-chat-badge-messages

We should be using https://github.com/Chatterino/chatterino2/blob/658cbbdbdac7c4b15e6cf2e48fe0c5cca48f6c88/src/util/SampleData.cpp for this.

@pajlada
Copy link
Copy Markdown
Member

pajlada commented Dec 14, 2025

/debug-test shared-chat-badge-messages

We should be using 658cbbd/src/util/SampleData.cpp for this.

yeah, and reroute them to #pajlada too please

@jupjohn
Copy link
Copy Markdown
Contributor Author

jupjohn commented Dec 14, 2025

We should be using https://github.com/Chatterino/chatterino2/blob/658cbbdbdac7c4b15e6cf2e48fe0c5cca48f6c88/src/util/SampleData.cpp for this.

I didn't think it was worth adding these to sample data since it's just a test for this PR. If you guys want it added I'm happy to do that, but after I add snapshot tests I don't see a reason to have the messages in the program itself.

@jupjohn jupjohn force-pushed the feature/6651-shared-chat-mod-vip-badges branch from b88aee2 to 93371a1 Compare December 14, 2025 21:59
@jupjohn
Copy link
Copy Markdown
Contributor Author

jupjohn commented Dec 14, 2025

yeah, and reroute them to #pajlada too please

I've amended my command commit to target that channel 👍

@jupjohn jupjohn marked this pull request as ready for review January 1, 2026 23:37
@pajlada pajlada enabled auto-merge (squash) January 2, 2026 12:52
@pajlada pajlada merged commit f421202 into Chatterino:master Jan 2, 2026
20 of 21 checks passed
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.

3 participants