tenzil
One on One chat (Direct Message)
Continuing the discussion from Implement direct messages (no chat room) using phoenix channels:
Has anyone tried this Implement direct messages (no chat room) using phoenix channels - #15 by chrismccord the chrismccord way of communicating one on one conversation? I am trying to achieve this. Blogs and docs talk only about rooms chat
and is live view possible here?
Most Liked
Qqwy
A very common approach to implementing direct messages, is to see a private communication between two people as “a (private) room chat with only two people”. When you do that, all knowledge and techniques of implementing normal room chats carries over.
benwilson512
This approach is particularly a good idea because just that a conversation is 1 on 1 between two individuals does not mean that is 1 to 1 between two channels. If Bob is talking directly to Larry, Bob may still have 2 tabs open, and so Larry’s messages need to be sent to two different channels.








