Subscribe community channel via lua.

UI and Macro
Is there any way to get a community channel subscribed to a chat frame with the ingame api? I can add it to the window with C_Club.AddClubStreamToChatWindow() but it gets added "unticked". I've tried both AddChatWindowChannel() and ChatFrame_AddChannel() but neither work, and it looks like there's no similar func in C_club.
I worked it out incase someone else comes looking. The UI stores the channel as Community:clubId:StreamId instead of the actual name it shows in the chat settings,
so ChatFrame_AddChannel(ChatFrame1, "Community:1234567:1") works.

Join the Conversation

Return to Forum