{"action":"created","issue":{"url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/11813","repository_url":"https://api.github.com/repos/RocketChat/Rocket.Chat","labels_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/11813/labels{/name}","comments_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/11813/comments","events_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/11813/events","html_url":"https://github.com/RocketChat/Rocket.Chat/issues/11813","id":351491670,"node_id":"MDU6SXNzdWUzNTE0OTE2NzA=","number":11813,"title":"Rocket.Chat after restart sends all old push notifications","user":{"login":"phidlipus","id":2934244,"node_id":"MDQ6VXNlcjI5MzQyNDQ=","avatar_url":"https://avatars0.githubusercontent.com/u/2934244?v=4","gravatar_id":"","url":"https://api.github.com/users/phidlipus","html_url":"https://github.com/phidlipus","followers_url":"https://api.github.com/users/phidlipus/followers","following_url":"https://api.github.com/users/phidlipus/following{/other_user}","gists_url":"https://api.github.com/users/phidlipus/gists{/gist_id}","starred_url":"https://api.github.com/users/phidlipus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phidlipus/subscriptions","organizations_url":"https://api.github.com/users/phidlipus/orgs","repos_url":"https://api.github.com/users/phidlipus/repos","events_url":"https://api.github.com/users/phidlipus/events{/privacy}","received_events_url":"https://api.github.com/users/phidlipus/received_events","type":"User","site_admin":false},"labels":[{"id":833345188,"node_id":"MDU6TGFiZWw4MzMzNDUxODg=","url":"https://api.github.com/repos/RocketChat/Rocket.Chat/labels/enhancement","name":"enhancement","color":"ededed","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-08-17T07:46:40Z","updated_at":"2018-12-01T08:18:19Z","closed_at":"2018-12-01T08:18:19Z","author_association":"NONE","body":"### Description:\r\n\r\nWhen I restarted Rocket.Chat server, all old (already sent) push notifications were send again to all mobile devices (ios and android).\r\n\r\n### Steps to reproduce:\r\n\r\nEnable push notificationsRestart the Rocket.Chat server. Regular restart or restart when upgrade the server application.\r\n\r\n### Expected behavior:\r\n\r\nRocket.Chat shouldn't send old push notifications after server restart.\r\n\r\n### Server Setup Information:\r\n\r\n- Version of Rocket.Chat Server: 0.65.1\r\n- Operating System: Debian Stretch, 64bit, kernel 4.4.112\r\n- Deployment Method: manual installation from downloaded tar\r\n- Number of Running Instances: 1\r\n- DB Replicaset Oplog: disabled\r\n- NodeJS Version: 8.9.4\r\n- MongoDB Version: 3.6.6"},"comment":{"url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/comments/443409255","html_url":"https://github.com/RocketChat/Rocket.Chat/issues/11813#issuecomment-443409255","issue_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/11813","id":443409255,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MzQwOTI1NQ==","user":{"login":"geekgonecrazy","id":51996,"node_id":"MDQ6VXNlcjUxOTk2","avatar_url":"https://avatars0.githubusercontent.com/u/51996?v=4","gravatar_id":"","url":"https://api.github.com/users/geekgonecrazy","html_url":"https://github.com/geekgonecrazy","followers_url":"https://api.github.com/users/geekgonecrazy/followers","following_url":"https://api.github.com/users/geekgonecrazy/following{/other_user}","gists_url":"https://api.github.com/users/geekgonecrazy/gists{/gist_id}","starred_url":"https://api.github.com/users/geekgonecrazy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geekgonecrazy/subscriptions","organizations_url":"https://api.github.com/users/geekgonecrazy/orgs","repos_url":"https://api.github.com/users/geekgonecrazy/repos","events_url":"https://api.github.com/users/geekgonecrazy/events{/privacy}","received_events_url":"https://api.github.com/users/geekgonecrazy/received_events","type":"User","site_admin":false},"created_at":"2018-12-01T08:18:19Z","updated_at":"2018-12-01T08:18:19Z","author_association":"MEMBER","body":"Going to go ahead and close this.  Should no longer be getting stuck.  Probably ok that it keeps trying to send pushes that it hasn’t got confirmation on delivery 👍"}}
{"actor":{"display_login":"geekgonecrazy"}}