{"action":"created","issue":{"url":"https://api.github.com/repos/raix/push/issues/58","labels_url":"https://api.github.com/repos/raix/push/issues/58/labels{/name}","comments_url":"https://api.github.com/repos/raix/push/issues/58/comments","events_url":"https://api.github.com/repos/raix/push/issues/58/events","html_url":"https://github.com/raix/push/issues/58","id":67607541,"number":58,"title":"What is the problem when the userId is not set?","user":{"login":"miri-am","id":10519693,"avatar_url":"https://avatars.githubusercontent.com/u/10519693?v=3","gravatar_id":"","url":"https://api.github.com/users/miri-am","html_url":"https://github.com/miri-am","followers_url":"https://api.github.com/users/miri-am/followers","following_url":"https://api.github.com/users/miri-am/following{/other_user}","gists_url":"https://api.github.com/users/miri-am/gists{/gist_id}","starred_url":"https://api.github.com/users/miri-am/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miri-am/subscriptions","organizations_url":"https://api.github.com/users/miri-am/orgs","repos_url":"https://api.github.com/users/miri-am/repos","events_url":"https://api.github.com/users/miri-am/events{/privacy}","received_events_url":"https://api.github.com/users/miri-am/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-04-10T14:25:51Z","updated_at":"2016-01-14T14:46:43Z","closed_at":"2015-04-12T11:25:33Z","body":"I have the following entry in _raix_push_app_tokens. The userId is null and thus the user cannot receive any push notifications. The user was logged in several times. Do I have to call `push-setuser ` manually?\r\n```\r\n{ \r\n    \"_id\" : \"Qf6C8ndRPaLTHkQBg\", \r\n    \"token\" : {\r\n        \"gcm\" : \"APA91bEDL8CJNkbBsTbCzskheYftgfIjWbye6zcQd-e4Of6e1Lov_Vc7LDP9qVhI4uplRpwTO_jVtocWLD93P7iQw2dF9IRD75aFtBHTe1M20-L_1bNgOObCB9z_AEMcGAqLh3tc7VP5SVoyzZFAFAqY8uilzzQwaw\"\r\n    }, \r\n    \"appName\" : \"main\", \r\n    \"userId\" : null, \r\n    \"createdAt\" : ISODate(\"2015-04-10T15:23:38.773+0200\"), \r\n    \"updatedAt\" : ISODate(\"2015-04-10T15:23:38.773+0200\")\r\n}\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/raix/push/issues/comments/171661640","html_url":"https://github.com/raix/push/issues/58#issuecomment-171661640","issue_url":"https://api.github.com/repos/raix/push/issues/58","id":171661640,"user":{"login":"MoeBadr","id":5603240,"avatar_url":"https://avatars.githubusercontent.com/u/5603240?v=3","gravatar_id":"","url":"https://api.github.com/users/MoeBadr","html_url":"https://github.com/MoeBadr","followers_url":"https://api.github.com/users/MoeBadr/followers","following_url":"https://api.github.com/users/MoeBadr/following{/other_user}","gists_url":"https://api.github.com/users/MoeBadr/gists{/gist_id}","starred_url":"https://api.github.com/users/MoeBadr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MoeBadr/subscriptions","organizations_url":"https://api.github.com/users/MoeBadr/orgs","repos_url":"https://api.github.com/users/MoeBadr/repos","events_url":"https://api.github.com/users/MoeBadr/events{/privacy}","received_events_url":"https://api.github.com/users/MoeBadr/received_events","type":"User","site_admin":false},"created_at":"2016-01-14T14:46:42Z","updated_at":"2016-01-14T14:46:42Z","body":"+1 for `userId:null` "}}