Perl plugin using Purple constants (finch)

Ka-Hing Cheung khc at
Sun Mar 29 18:31:04 EDT 2009

On Mon, Mar 16, 2009 at 03:56:57PM -0400, Adam Tistler wrote:
> Hi all,
> I am attempting to use the received-chat-msg callback in my plugin  
> however it does not seem to be called,
> received-im-msg does get called.

usually devel@ is a better mailing list for code questions.

> According to the xml, this is a chat conversation:
> <message to="xxxxxx at" type="chat"  
> id="D5E2C4CE8EA07AB7_14"
> I think that I am confused as to the difference between what finch  
> thinks is a "chat" and "im".  Can someone elaborate.  Also, is there  
> an easy way to refer to C enums with the perl plugin or can I just send
> a hex in its place?

A chat in XMPP is MUC, while other one-to-one messages are "im".


More information about the Devel mailing list