I am working on my personal project and stuck on a logic I am creating a application in which users can search coding articles posted by another user Once user searches an article, I want to show if the author of that user is online and if the author of that post is online, ask (notification will be sent to) the author for chat and if author accepts the chat connect both of them to a chat room The author is logged in and the user who is searching the post is by default not logged in
Currently I am not able to do with properly I am using long polling
Using django channels Please help me out with this Thanks