{"action":"created","issue":{"url":"https://api.github.com/repos/mrDoctorWho/ejabberd_mod_apns/issues/25","repository_url":"https://api.github.com/repos/mrDoctorWho/ejabberd_mod_apns","labels_url":"https://api.github.com/repos/mrDoctorWho/ejabberd_mod_apns/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/mrDoctorWho/ejabberd_mod_apns/issues/25/comments","events_url":"https://api.github.com/repos/mrDoctorWho/ejabberd_mod_apns/issues/25/events","html_url":"https://github.com/mrDoctorWho/ejabberd_mod_apns/issues/25","id":359818860,"node_id":"MDU6SXNzdWUzNTk4MTg4NjA=","number":25,"title":"Blocked users should not be received notification using mod_apns.erl in ejabberd","user":{"login":"nileshbacancy","id":34568224,"node_id":"MDQ6VXNlcjM0NTY4MjI0","avatar_url":"https://avatars3.githubusercontent.com/u/34568224?v=4","gravatar_id":"","url":"https://api.github.com/users/nileshbacancy","html_url":"https://github.com/nileshbacancy","followers_url":"https://api.github.com/users/nileshbacancy/followers","following_url":"https://api.github.com/users/nileshbacancy/following{/other_user}","gists_url":"https://api.github.com/users/nileshbacancy/gists{/gist_id}","starred_url":"https://api.github.com/users/nileshbacancy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nileshbacancy/subscriptions","organizations_url":"https://api.github.com/users/nileshbacancy/orgs","repos_url":"https://api.github.com/users/nileshbacancy/repos","events_url":"https://api.github.com/users/nileshbacancy/events{/privacy}","received_events_url":"https://api.github.com/users/nileshbacancy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-09-13T09:39:25Z","updated_at":"2018-09-14T07:06:04Z","closed_at":null,"author_association":"NONE","body":"Hello @mrDoctorWho @zinid \r\nI am using ejabberd 16.09 version, for notification use mod_apns.erl file to the mod_apns module.\r\n\r\nI am receiving offline message using this module and also for getting notification from blocked users message. i.e. UserA and UserB online. UserA has blocked to UserB. UserA can't send a message but when UserB sends message UserA getting that sent message in the notification.\r\n\r\nSo, Can you please help me out for how to prevent the notification from blocked users?"},"comment":{"url":"https://api.github.com/repos/mrDoctorWho/ejabberd_mod_apns/issues/comments/421252484","html_url":"https://github.com/mrDoctorWho/ejabberd_mod_apns/issues/25#issuecomment-421252484","issue_url":"https://api.github.com/repos/mrDoctorWho/ejabberd_mod_apns/issues/25","id":421252484,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMTI1MjQ4NA==","user":{"login":"nileshbacancy","id":34568224,"node_id":"MDQ6VXNlcjM0NTY4MjI0","avatar_url":"https://avatars3.githubusercontent.com/u/34568224?v=4","gravatar_id":"","url":"https://api.github.com/users/nileshbacancy","html_url":"https://github.com/nileshbacancy","followers_url":"https://api.github.com/users/nileshbacancy/followers","following_url":"https://api.github.com/users/nileshbacancy/following{/other_user}","gists_url":"https://api.github.com/users/nileshbacancy/gists{/gist_id}","starred_url":"https://api.github.com/users/nileshbacancy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nileshbacancy/subscriptions","organizations_url":"https://api.github.com/users/nileshbacancy/orgs","repos_url":"https://api.github.com/users/nileshbacancy/repos","events_url":"https://api.github.com/users/nileshbacancy/events{/privacy}","received_events_url":"https://api.github.com/users/nileshbacancy/received_events","type":"User","site_admin":false},"created_at":"2018-09-14T07:06:04Z","updated_at":"2018-09-14T07:06:04Z","author_association":"NONE","body":"Hello @mrDoctorWho \r\nlet me take one example: UserA open chat app and he has UserB in chat contact list.\r\nUserA has a block to UserB (Block contact feature).\r\nWhen UserB sends any message at that time UserA received that message notification.\r\nI have used mod_apns.erl file for sending notification in IOS.\r\n\r\n"}}
{"actor":{"display_login":"nileshbacancy"}}