DBus - received im message and time stamp
Etan Reisner
deryni at pidgin.im
Sun Jan 23 01:07:06 EST 2011
On Mon, Jan 10, 2011 at 12:18:22PM +0100, dibo20 at wp.pl wrote:
> Hi,
>
> I'm listening for signal ReceivedImMsg. When window with contact is opened,
> then is ok - I get conversation id argument and can get message time stamp
> by calling PurpleConversationGetMessageHistory ->
> PurpleConversationMessageGetTimestamp. But when window is closed, then
> argument with conversation id is 0. So how can I get time stamp? I can get
> system local time, but what if message is offline (sent to me some times
> ago).
>
> Regards
If you need to see the message after the window has been created you can
try to use the wrote-im-msg signal.
It might also be worth filing a bug about this to request that we improve
the message signals to include this sort of information where possible.
-Etan
More information about the Support
mailing list