Answer the question
In order to leave comments, you need to log in
How to implement multiple chats with one user in Openfire?
Good day!
There is an Android client raised by Openfire, PHP for the API.
When registering via the API, I automatically create a user in Openfire. Let's say there are two users:
1) [email protected]
2) [email protected] There are several topics
in
the database with a unique id.
For example, id = 1 , sports id = 2 , culture id = 3 , poster Question. The task is to create a chat between [email protected] and [email protected] for each topic. Of course, rooms can be used, but wouldn't that be too cumbersome with, say, 1,000 active users and 1,000,000 rooms? In such cases, is it possible to implement it differently?
Thank you.
Answer the question
In order to leave comments, you need to log in
And if you just make categories on the client
sport
culture
poster
And sign each message to which category it belongs.
And the user does not show all messages, but only from a certain selected category.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question