This question might not be directly Smack related, but more XMPP-related.
How do you manage message threads in a groupchat?
I’ve read XEP-0201: Best Practices for Message Threads but it doesn’t help much.
E.g. let’s say you have a room with 4 occupants.
The first one writes a message and sets a random thread id.
All other three could pick that thread id up and use it in consequent messages.
Now a fifth one enters the room and immediately writes a message. He obviously can’t know the current thread id and therefore creates a new one.
The other 4 would pick that up and overwrite the old one.
Is that how it should work?
When to generate a new message thread?
Is it maybe bound to subject changes?
Should new occupants send any message thread at all?
Should I have a button on the UI ala “New thread” and let the user decide when to generate a new thread?
Thanks for some opinion!