Why can't you just use the
status callback's
PNConnectedCategory as the place where you call
hereNow? This event happens when you subscribe to a channel(s).
I thought I mentioned that in past replies but I probably am just confusing with another thread that I mentioned that on recently.
--- Post updated at 04:53 PM ---
Do I just set the initial presenceTimeout > 300, say 600 or maybe even 1200 seconds?
Sorry, missed this question.
No need to set any special presenceTimeout for an individual. If they are subscribed to a channel(s), they will remain subscribed and therefore
present on the channel until they unsubscribe or network connection fail.
Not sure if that's what you mean, so clarify if I am not understanding the question/requirement.
Cheers
Craig
--- Post updated at 04:56 PM ---
Hmmm, I just replied to the other question you had (that I missed) and it didn't post up here.
Quote:
What's the best way to keep the user's chat session alive...
Nothing you need to set special for an individual user. Just being subscribed to the channel will keep them "active/alive" or
present on the channel. Perhaps I am not understanding the actual requirement or some disconnect/timeout issue you are having when a user is not interacting in the chat?
--- Post updated at 04:57 PM ---
Haha - I see that my first attempt finally posted up.