{"action":"created","issue":{"url":"https://api.github.com/repos/WHAnonymous/Chat-API/issues/1164","labels_url":"https://api.github.com/repos/WHAnonymous/Chat-API/issues/1164/labels{/name}","comments_url":"https://api.github.com/repos/WHAnonymous/Chat-API/issues/1164/comments","events_url":"https://api.github.com/repos/WHAnonymous/Chat-API/issues/1164/events","html_url":"https://github.com/WHAnonymous/Chat-API/issues/1164","id":115236167,"number":1164,"title":"Questions about presence (un)subscription","user":{"login":"rogobob","id":12425771,"avatar_url":"https://avatars.githubusercontent.com/u/12425771?v=3","gravatar_id":"","url":"https://api.github.com/users/rogobob","html_url":"https://github.com/rogobob","followers_url":"https://api.github.com/users/rogobob/followers","following_url":"https://api.github.com/users/rogobob/following{/other_user}","gists_url":"https://api.github.com/users/rogobob/gists{/gist_id}","starred_url":"https://api.github.com/users/rogobob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rogobob/subscriptions","organizations_url":"https://api.github.com/users/rogobob/orgs","repos_url":"https://api.github.com/users/rogobob/repos","events_url":"https://api.github.com/users/rogobob/events{/privacy}","received_events_url":"https://api.github.com/users/rogobob/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-11-05T08:54:21Z","updated_at":"2015-11-05T11:03:35Z","closed_at":"2015-11-05T09:23:04Z","body":"1. Wiki says I should subscribe presence to EVERY contact on first login (and also sometimes on subsequent logins, as described here: https://github.com/WHAnonymous/Chat-API/issues/620#issuecomment-95100206). Does that include contacts who turn out to be non existing in WhatsApp after syncing them?\r\n2. Do I have to subscribe to presence after getting onNumberWasAdded event? As I understand I should mark the contact as EXISTING in my app, so that seems logical.\r\n3. Do I have to unsubscribe after getting onNumberWasRemoved event?"},"comment":{"url":"https://api.github.com/repos/WHAnonymous/Chat-API/issues/comments/154031104","html_url":"https://github.com/WHAnonymous/Chat-API/issues/1164#issuecomment-154031104","issue_url":"https://api.github.com/repos/WHAnonymous/Chat-API/issues/1164","id":154031104,"user":{"login":"mgp25","id":5390120,"avatar_url":"https://avatars.githubusercontent.com/u/5390120?v=3","gravatar_id":"","url":"https://api.github.com/users/mgp25","html_url":"https://github.com/mgp25","followers_url":"https://api.github.com/users/mgp25/followers","following_url":"https://api.github.com/users/mgp25/following{/other_user}","gists_url":"https://api.github.com/users/mgp25/gists{/gist_id}","starred_url":"https://api.github.com/users/mgp25/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgp25/subscriptions","organizations_url":"https://api.github.com/users/mgp25/orgs","repos_url":"https://api.github.com/users/mgp25/repos","events_url":"https://api.github.com/users/mgp25/events{/privacy}","received_events_url":"https://api.github.com/users/mgp25/received_events","type":"User","site_admin":false},"created_at":"2015-11-05T11:03:35Z","updated_at":"2015-11-05T11:03:35Z","body":"Yes, also is triggered if received a notification, like profile picture updated, etc"}}