-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I already talked with James about the functionality to fall back on the first part of the VCARD Full Name when there is no Nickname available to use as screen name on MSN. I promised it to write a little patch for it, and so here it is. Applying it will make it more attractive for google talk users to use a msn-transport.
Regards, Maarten -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) iD8DBQFEFq+eXjGr8JbE19URAm2xAJwJYEhSlDvI7HSrsxy4hqmkoR/f2gCdH0hP gkT1hqaM48s2ldTJfJIoueY= =hBq0 -----END PGP SIGNATURE----- -------------- next part -------------- 51d50 < self.fullname = "" 125,126d123 < if e.name == "FN": < self.updateFullname(e.__str__()) 136,143d132 < < if not self.nickname: < self.nickname = self.fullname.split()[0] #Use first name of Full Name if there is no nickname < if not self.nickname: < j = jid.intern(self.jabberID) #Otherwise use user part of JID < self.nickname = j.user < self.setStatus(self.show, self.status) < 157,159c146,149 < < def updateFullname(self, fullname): < self.fullname = fullname --- > if not self.nickname: > j = jid.intern(self.jabberID) > self.nickname = j.user > self.setStatus(self.show, self.status) From [EMAIL PROTECTED] Tue Mar 14 12:01:13 2006 From: [EMAIL PROTECTED] (James Bunton) Date: Tue Mar 14 12:01:14 2006 Subject: [py-transports] Problems with PyMSNt + ejabberd-1.0.0 In-Reply-To: <[EMAIL PROTECTED]> References: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> Message-ID: <[EMAIL PROTECTED]> On 14/03/2006, at 10:43 PM, Renato Botelho wrote: > On 3/14/06, Norman Rasmussen <[EMAIL PROTECTED]> wrote: >> On 3/14/06, Renato Botelho <[EMAIL PROTECTED]> wrote: >>>> Could you run it with logging to stdout and see if you get anything >>>> that way? >>> >>> Sure, here it is, I registered the msn user with no problem, but it >>> didn't conect, so, I click on "log on" button on JAJC and it >>> crasches. >> >> Yegh, python segfaulting, good luck. > > Here are my python and related versions: > > python-2.4.2 > py-imaging-1.1.5 > py-openssl-0.6 > py-tkinter-2.4.2 > py-twisted-1.3.0 > > Are you using something different? > -- > Renato Botelho I have Python 2.4.1, but it shouldn't be segfaulting! :| What happens if you run this command? trial /usr/lib/python2.4/site-packages/twisted/test/test_ssl.py --- James