Xelson / flarum-ext-chat

☁️NeonChat — native realtime chat application for Flarum
https://discuss.flarum.org/d/25361-neon-chat-native-realtime-chat-applicaiton
MIT License
20 stars 8 forks source link

Realtime chat not working #16

Closed datlechin closed 2 years ago

datlechin commented 2 years ago

image

Xelson commented 2 years ago

Have you enabled any sockets Pusher or kyrne/websocket? Have you set them up properly?

datlechin commented 2 years ago

Have you enabled any sockets Pusher or kyrne/websocket? Have you set them up properly?

yes, i have setup pusher

image

Xelson commented 2 years ago

ok so let's try to send a message from another account. It seems to me that the problem is messages from the socket are blocked based on the account ID, not the browser session

datlechin commented 2 years ago

it works with another account, but it doesn't work with another tab using the same account

datlechin commented 2 years ago

is this a bug or feature? 🤔🤔

Xelson commented 2 years ago

most likely this is a flaw. I will think about how to do it right and fix it in future commits