[Twisted-Python] Another patch for twisted-im

Daniel Stone dstone at kde.org
Fri Nov 8 05:19:20 EST 2002


On Fri, Nov 08, 2002 at 08:46:07PM +1100, screwtape at froup.com scrawled:
> On Fri, Nov 08, 2002 at 06:19:21PM +1100, Daniel Stone wrote:
> > On Fri, Nov 08, 2002 at 05:47:50PM +1100, screwtape at froup.com scrawled:
> > > +            self.sendLine("USER %s foo bar :Twisted-IM user"%self.nickname)
                                                  ^

> > 
> > IMHO "user" should be configurable, too; that's the username that shows
> > up.
> 
> Oh, crud. I cvs diff'd from Twisted/twisted/im, I assumed magical CVS
> would fix up all the pathnames. 
> 
> Anyway, the above happens inside twisted.im's IRC abstraction. I don't
> think there's other protocols that let you define your real name every
> time you connect (Jabber, for instance, keeps it on the server), so
> exposing an API to deal with IRC's nonconformity would seem to be a
> Bad Thing.
> 
> In theory, you could just make it the same as the nickname, but (a)
> that's pretty pointless, and (b), we lose a chance to advertise
> Twisted. :)
> 
> Also, glyph made it a hard-coded string when he first wrote it, so he
> probably thinks that's the Way To Go. :)
> 
> At any rate, the same file is used by both the java and GTK
> front-ends, so it shouldn't say GTK-IM.

Sorry, I'm stupid. I didn't see the colon, and thought you were just
using "user" for the username. Forgive me.

-- 
Daniel Stone 	     <daniel at raging.dropbear.id.au>             <dstone at kde.org>
Developer - http://kopete.kde.org, http://www.kde.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://twistedmatrix.com/pipermail/twisted-python/attachments/20021108/e931e0a4/attachment.pgp 


More information about the Twisted-Python mailing list