So clients wouldn't have to keep their own list of unacked messages. Furthermore, they should always ack all the messages, even those they don't understand, keeping messages unacked isn't helpful: channel will always be respawned and messages will stay in memory forever.
http://cgit.collabora.com/git/user/cassidy/telepathy-glib/log/?h=ack-all-38559
Created attachment 48276 [details] [review] add tp_text_channel_ack_all_pending_messages_async() (#38559)
Are we depending on late enough glib for _take_error()? + * Finishes to ack all the pending of messages. "Finish an asynchronous acknowledgement operation of all messages" I think would be better. ++ otherwise
(In reply to comment #3) > Are we depending on late enough glib for _take_error()? Yep, that's GLib 2.28 on which we depend already (probably for this function actually). > + * Finishes to ack all the pending of messages. > > "Finish an asynchronous acknowledgement operation of all messages" I think > would be better. fixed.
Merged to master; will be in 0.15.3.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.