threefoldfoundation / tf_app

Threefold mobile application backend
Apache License 2.0
0 stars 3 forks source link

Group P2P chats per user [3d] #353

Open bart-at-mobicage opened 5 years ago

bart-at-mobicage commented 5 years ago

Right now it's possible to have 1000 chats with 1 single friend. Let's make sure that per friend there's only 1 p2p chat. When a user sends a new message to a user he already chatted with, then he should just automatically continue in that chat.

RubenMattan commented 5 years ago

How where you planning to do this?

lucasvanhalst commented 5 years ago

Can't we just let the server return the chat id when 'creating' a chat so that we can return the same id in case if already exists. And perhaps a new ds model to store a mapping between users and chats

RubenMattan commented 5 years ago

We did that before, but changed to the current way because of issues.

RubenMattan commented 5 years ago

Is this still a requirement? Otherwise i will close this feature

bart-at-mobicage commented 5 years ago

^ @sabrinasadik