Re: advice...
From: Jakob Schroeter <js@xxxxxxxxxx>
Date: Wed, 27 Dec 2006 20:21:50 +0100
On Wednesday December 27 2006 05:17, Chris Fernandez wrote:
> Hi guys, I am going to add more feature to the bot I wrote yesterday
> following mix examples from gloox.
> I was using MessageHandler but I think (not sure) that for what I read I
> will be better off to use MessageSession?
> basically I need some class that will put the msg on a variable so I can
> compare to do something about it..
> for example if I sent "slashdot" it will fech the rss feed and sent it
> back to me... etc..
>
> what is my best choice? also what variable handles the msg text on that
> class?

I don't think you'd need a MessageSession for that.

Stanza::body() returns the actual message text.

cheers,
Jakob

Attachment: pgpuImpRFQLyi.pgp
Description: PGP signature

-- 
gloox-dev mailing list
to unsubscribe:
send a message with subject 'unsubscribe gloox-dev' to minimalist@xxxxxxxxxx