James Bunton skrev:
> Using PyMSNt 0.9.x?
>
> This feature is called fancyFriendly. It's been replaced in the next
> version. You can turn it off in config.xml
>
> ---
>
> James
>
>
> On 19/06/2005, at 9:36 PM, Stian B. Barmen wrote:
>
>> I use pymsn-t on my ejabberd jabber server to serve as a transport. When
>> I use this transport with gajim or pandion and I go to "away" status it
>> seems that the msn transport changes my nick.
>>
>> Why does this happen? Can I stop it from this behaviour? I know that for
>> some windows klients this triggers a message (user changed his name
>> to .. bla bla).
>>
>> Hope I can disable this feature.
>>
>> Best regards
>> Stian B. Barmen
>
>
> _______________________________________________
> py-transports mailing list
> [email protected]
> http://www.modevia.com/cgi-bin/mailman/listinfo/py-transports
Thanks :) Just the info I needed (version 0.9.2).
-stian
From [EMAIL PROTECTED] Mon Jun 20 23:01:24 2005
From: [EMAIL PROTECTED] (James Bunton)
Date: Mon Jun 20 23:02:03 2005
Subject: [py-transports] Discovery sendIq, onIq problem
In-Reply-To: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>
d = disco.sendIq(packet)
d.addCallback(successFunction)
d.addErrback(errorFunction)
def successFunction(self, el):
pass
def errorFunction(self, el):
pass
'el' is the complete packet received in response to the IQ. Note that
errorFunction may be called with no arguments, if there's a timeout for
example.
You can skip creating the errback function if you are 100% certain
there will be a response. It's a bad idea though because if you don't
make an errback function the debug log gets spammed with useless junk.
---
James
On 21/06/2005, at 2:40 AM, Lavanant Etienne wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi,
> I am programming a little application from PyMSN-t-0.9.3 and as I am a
> beginner in Python and in programming in general, I have a question.
>
> I would like to make a disco request and analyse the answer. So I
> create
> an element in the form of :
> <iq type="get"
> from="[EMAIL PROTECTED]"
> to="service.jabber.example.org"
> id="pqsi2">
> <query xmlns="http://jabber.org/protocol/disco#items"/>
> </iq>
>
> Then I send this element using disco.sendIq(element).
> I just don't know how to get the answer. I see there is a function
> disco.onIq() and it checks if the <iq /> is an answer but I don't know
> how to use it (I don't understand in the twisted code what
> self.deferredIqs[(fro, ID)].callback(el) do).
>
> Can anybody help ?
> Thanks.
>
> - --
> ?tienne Lavanant
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.0 (GNU/Linux)
> Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
>
> iD8DBQFCtvFmTgJ44lcAhaMRAkXuAJ9QARJH6PaFLDi1seTMtZ03HqCnugCfbLjZ
> rKuIwhkhC3x6b7tbIwz3QYI=
> =j0de
> -----END PGP SIGNATURE-----
> _______________________________________________
> py-transports mailing list
> [email protected]
> http://www.modevia.com/cgi-bin/mailman/listinfo/py-transports
>