OnPrivateMessage()

my OnPrivateMessage() call when ever i send message to other users

Comments

  • Hi @talhaakbar8787_89,

    Thank you for choosing Photon!

    Photon Chat is a publish/subscribe system that let you broadcast messages into subscribed channels. The private channel is just an exception of 1-to-1 type.

    So to answer your question, the OnPrivateMessage callback firing is expected whenever you send private message as you are actually broadcasting it and you should receive your own message yourself. So just ignore it or skip it or consider it as an ACK.
This discussion has been closed.