[Psi-Devel] Simple evaluation of open 0.14 issues
Damjan
gdamjan at mail.net.mk
Sun Sep 27 18:23:17 PDT 2009
> maybe = patch incomplete, or I don't understand the need
...
> * Feature #949: export doSleep() / doWakeup() via DBUS
> maybe
what the reason for the "maybe" here .. the patch looks simple enough,
and it's usefull enough (for me at least).
Just to explain a it more, you are on your laptop, the train/plain/ is
leaving, the class is begining etc., you put the laptop to sleep - buy
you forgot to logoff Psi ... as far as the server is concerned it's the
same as if you disappeared from the earth BUT it will actually perceive
that at best 2 minutes after you suspended.. at worst it might take half
an hour. At this time, all your friends see you as online, and can send
you messages, which will be lost *forever* (there's no ACK on XMPP
messages).
And this loss of messages is awfull.
So on Linux it would be nice to send the dbus command to psi to logoff
in the suspend scripts (either hibernate-script or pm-utils).
An alternative would be to listen to the HAL event for suspend .. but
not everyone uses HAL for suspend.
--
damjan | дамјан
This is my jabber ID --> damjan at bagra.net.mk
-- not my mail address, it's a Jabber ID --^ :)
More information about the Psi-Devel
mailing list