[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kopete-devel
Subject:    DBUS
From:       Pau Garcia i Quiles <pgquiles () elpauer ! org>
Date:       2010-12-05 1:43:05
Message-ID: AANLkTi=hNiQyPy7Bp8GsV8sVxTTifk5RpGaVks15pxxV () mail ! gmail ! com
[Download RAW message or body]

Hello,

People have been asking to be able to send pictures to a Kopete
contact from Digikam, KSnapshot, etc. I have developed a KIPI plugin
using the DBUS interface of Kopete. It performs these steps:

1. Check if Kopete is running
2. Get full list of contacts
3. For each contact, call contactProperties. From contactProperties I
get the display name, the avatar and check whether that contact
accepts file transfers, which is the whole point of this KIPI plugin.

Problem is I'm getting wrong answers. For instance:
- For Facebook contacts, I'm getting "true" when I check if a contact
accepts file transfers. It should always return false because Facebook
does not allow filetransfers.
- For MSN contacts, calling sendFile does nothing. OTOH, openChat works fine.

I've not tested with any other IM services yet

Am I doing anything wrong?

Code is in extragear/graphics/kipi-plugins/kopete

Thanks

-- 
Pau Garcia i Quiles
http://www.elpauer.org
(Due to my workload, I may need 10 days to answer)
_______________________________________________
kopete-devel mailing list
kopete-devel@kde.org
https://mail.kde.org/mailman/listinfo/kopete-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic