We (KDE Telepathy) are currently implementing a chat plasmoid,
effectively the same as the built in chat in Gnome Shell.

Currently (mostly thanks to a lack of delegateChannel in TpQt) this
plasmoid purely an observer with our main handler running in a window
elsewhere.

>From the spec:
"Observers MUST NOT carry out actions that exactly one process must
take responsibility for (e.g. acknowledging Text messages...)."

Given this is a user facing observer, we can tell when the user has
seen this message, so I don't see why there's any reason we should not
be acknowledging the messages.
We were using this acknowledged message system as a way to keep track
of the "unread messages" in both the main chat handler and the
plasmoid and show/remove the correct notifications in the two places.

So in short; in this particular case is it ok for an observer to ack
messages? I think it is, but I don't want to go against the spec,
particularly something in capital letters.
If not how does Gnome-Shell handle this?

David
_______________________________________________
telepathy mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/telepathy

Reply via email to