flyerhq / flutter_firebase_chat_core

Actively maintained, community-driven Firebase BaaS for chat applications with an optional chat UI.
https://flyer.chat
Apache License 2.0
261 stars 208 forks source link

Multiple rooms for a pair of users #87

Closed mrcnee93 closed 2 years ago

mrcnee93 commented 2 years ago

Hi, i wandering if it's possible to create more then just one room for two users. i'm already using metadata to keep track of the "topic" the two users are discussing in the said room, i'd really like to create a new room whenever i call createRoom passing differents metadata

demchenkoalex commented 2 years ago

Hi @mrcnee93 I think this will be impossible due to how dialogues work, I can't create different room to speak with the same person in any chat application I know. However, you could switch to group rooms? You can set your topic as a group room name, and you can have as many group rooms with same 2 people as you want.

mrcnee93 commented 2 years ago

i didn't thought about this, i'll give it a try on monday, thanks!

demchenkoalex commented 2 years ago

Closing for now, feel free to add comments if needed :)