View Single Post
03-18-21, 04:29 PM   #1
hamunaptra
A Murloc Raider
Join Date: Oct 2009
Posts: 4
JoinChannelByName enigma

UDPATE: Nevermind, I'm an idiot... it seems SendChatMessage can only be triggered by a hardware event, not by an addon, thus the error. I'll have to find another way for my addon to talk to other versions of it out there...

---------------

I'm trying to join a channel programmatically through an addon using the following logic:

Code:
JoinChannelByName("mychannel", nil, ChatFrame1:GetID(), false)
however, this seems to join the channel in a way that I cannot actually send or receive anything from/to it:

Code:
local id = GetChannelName("mychannel")
SendChatMessage("testmsg", "CHANNEL", "COMMON", id)
seems to fail:

Code:
Interface action failed because of an AddOn
Which points to a taint issue, but nothing is showing up in the taint.log (using level 1).

I'm confused... how can SendChatMessage raise a taint?

What am I missing?

Last edited by hamunaptra : 03-18-21 at 04:45 PM.
  Reply With Quote