10

I'm using Slack's Real Time Messaging API to track when my team members log into or out of Slack. Using the presence_change and manual_presence_change events I am notified when someone explicit changes their presence state (or if they're automatically set to "Away" after a period of inactivity).

But if a team members logs out (e.g. closes the Slack app) I do not receive any type of notification. Am I missing something or is there no way to be notified when someone logs into or out of Slack? I really don't want to have to resort to polling.

RobertJoseph
  • 7,968
  • 12
  • 68
  • 113
  • What are you trying to achieve? This looks like a very demanding application from a user point of view – Matthieu Aug 04 '16 at 07:21
  • Probably you don't receive the notification because the user is still active somehow. Maybe slack don't change the user presence when the app is closed and only after the automatic period. – alejdg Sep 22 '16 at 17:50
  • [This answer](https://stackoverflow.com/a/46711079/4379151) might be helpful. – Erik Kalkoken Nov 02 '18 at 13:39

0 Answers0