[jdev] SleekXMPP, XEP-0004, XEP-0050 and sender JabberID

Remko Tronçon remko at el-tramo.be
Wed Jan 28 13:41:01 CST 2009


> Has anybody used SleekXMPP [1] (or SleekBot [2]) to handle forms with
> XEP-0004 [3] (+ XEP-0050 [4])?

Yes, it's even used in the book ;-)

> My question is how to get JID of sender in command handler - the only
> thing that it gets is 'form' and 'sessionid' (and none of this can
> point out to full jid of sender).

self.xmpp.plugin['xep_0050'].sessions[sessionId]['jid']

cheers,
Remko



More information about the JDev mailing list