From kopete-devel Tue Aug 26 07:23:16 2008 From: "Roman Jarosz" Date: Tue, 26 Aug 2008 07:23:16 +0000 To: kopete-devel Subject: Re: [kopete-devel] [PATCH] Incoming file transfer in chat window v2 Message-Id: X-MARC-Message: https://marc.info/?l=kopete-devel&m=121973549203337 On Mon, 25 Aug 2008 21:20:48 +0200, Olivier Goffart wrote: > Le dimanche 24 août 2008, Roman Jarosz a écrit : >> Hi, >> >> here's next version of my patch. >> >> Changes since last version >> * disabled javascript as many people don't like it to be enabled. >> * added unique id into Message class which is also used for file >> transfer >> id. * file transfer information in Messages are stored in separate >> objects >> so we don't waste memory >> * if protocol doesn't specify icon we show icon for current file >> extension. >> * use Kopete default font for buttons >> * some cleanups and fixes >> >> http://kedge.wz.cz/kopete/kopeteft4.png > > Hi, I'm happy with the patch, it's almost good. > > Last problem: > - setOnlyLocalReferences( true ); > Why exactly do you need to enable network reference? > > Again you have security issue (presence leak in that case, ...) > > Otherwise i have to say the patch is very cool. Fixed and commited. Thanks go to OffEagle and Gof for helping me. >> If we want to support Adium file transfer chat styles we have to use >> javascript so i'm starting a pool :) > > Why exactly? Do they have javascript embedded? > What is the javascript for? The javascript is there to notify Adium that it should save/cancel file transfer request. They ft style specs look like this