How to resume chat session from history

Issue #102 closed
Markus KARG created an issue

I think it would be beneficial to have a variant of ChatManager.createChatSession which has two parameters: JID and Thread ID.

The reason is that when a client software is booted and wants to restore the original state at the time of its last shut down, it has not chance currently to provide the original Thread ID. As a result, createChatSession will implicitly start a new thread having a random UUID.

To really resume the original thread (and to reduce the trouble my client currently has with lots of "new" ChatSessions being signalled, where actually there is only one) it would be great to add this proposed parameter!

Comments (4)

  1. Log in to comment