Proper way to notify of leaving channel
Options
Hello,
Loving the chat service so far. Got up and running pretty quickly. I'm now trying to ensure a smooth experience for users and am running into an issue with how best to post a message when a player leaves the chat.
I've tried:
1. Unsubscribe from the channel for the user
2. Catching the OnUnsubscribed to trigger a PublishMessage.
Thought that was wrong so just tried to:
1. PublishMessage just before disconnecting the user.
Neither will post the message to other users in the channel.
What is the expected method to use to notify others when someone leaves the channel?
Thanks,
Kris
@druidsduel
http://www.druidsduel.com
Loving the chat service so far. Got up and running pretty quickly. I'm now trying to ensure a smooth experience for users and am running into an issue with how best to post a message when a player leaves the chat.
I've tried:
1. Unsubscribe from the channel for the user
2. Catching the OnUnsubscribed to trigger a PublishMessage.
Thought that was wrong so just tried to:
1. PublishMessage just before disconnecting the user.
Neither will post the message to other users in the channel.
What is the expected method to use to notify others when someone leaves the channel?
Thanks,
Kris
@druidsduel
http://www.druidsduel.com
0
Comments
-
currentlly there is no built in way to get this notification.0