{"action":"created","issue":{"url":"https://api.github.com/repos/postaljs/postal.js/issues/152","repository_url":"https://api.github.com/repos/postaljs/postal.js","labels_url":"https://api.github.com/repos/postaljs/postal.js/issues/152/labels{/name}","comments_url":"https://api.github.com/repos/postaljs/postal.js/issues/152/comments","events_url":"https://api.github.com/repos/postaljs/postal.js/issues/152/events","html_url":"https://github.com/postaljs/postal.js/issues/152","id":150929949,"number":152,"title":"Resubscribing throwing error","user":{"login":"arashb31","id":1490000,"avatar_url":"https://avatars.githubusercontent.com/u/1490000?v=3","gravatar_id":"","url":"https://api.github.com/users/arashb31","html_url":"https://github.com/arashb31","followers_url":"https://api.github.com/users/arashb31/followers","following_url":"https://api.github.com/users/arashb31/following{/other_user}","gists_url":"https://api.github.com/users/arashb31/gists{/gist_id}","starred_url":"https://api.github.com/users/arashb31/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arashb31/subscriptions","organizations_url":"https://api.github.com/users/arashb31/orgs","repos_url":"https://api.github.com/users/arashb31/repos","events_url":"https://api.github.com/users/arashb31/events{/privacy}","received_events_url":"https://api.github.com/users/arashb31/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-04-25T17:20:52Z","updated_at":"2016-12-05T06:16:18Z","closed_at":null,"body":"I'm using postal.js and sometimes when I subscribe to a channel, I receive an error that looks like this:\n\nFor example, if I do something like\n\n`postal.channel().subscribe('homefeed', alert)\n`\n\nI get\n\n`\"Cannot read property '/|homefeed' of undefined\"\n`\n\nStack trace below:\n`at http://localhost:8080/libs/postal.js:8:730\n    at http://localhost:8080/libs/postal.js:8:7297\n    at u (http://localhost:8080/libs/lodash.min.js:6:412)\n    at Function.se (http://localhost:8080/libs/lodash.min.js:52:212)\n    at Object.e.extend.subscribe (http://localhost:8080/libs/postal.js:8:7187)\n    at p.subscribe (http://localhost:8080/libs/postal.js:8:1471)\n`\n\nThis seem to happen when I subscribe, and then unsubscribe, and then re-subscribe to the same topic.\n"},"comment":{"url":"https://api.github.com/repos/postaljs/postal.js/issues/comments/264775985","html_url":"https://github.com/postaljs/postal.js/issues/152#issuecomment-264775985","issue_url":"https://api.github.com/repos/postaljs/postal.js/issues/152","id":264775985,"user":{"login":"ifandelse","id":197026,"avatar_url":"https://avatars.githubusercontent.com/u/197026?v=3","gravatar_id":"","url":"https://api.github.com/users/ifandelse","html_url":"https://github.com/ifandelse","followers_url":"https://api.github.com/users/ifandelse/followers","following_url":"https://api.github.com/users/ifandelse/following{/other_user}","gists_url":"https://api.github.com/users/ifandelse/gists{/gist_id}","starred_url":"https://api.github.com/users/ifandelse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ifandelse/subscriptions","organizations_url":"https://api.github.com/users/ifandelse/orgs","repos_url":"https://api.github.com/users/ifandelse/repos","events_url":"https://api.github.com/users/ifandelse/events{/privacy}","received_events_url":"https://api.github.com/users/ifandelse/received_events","type":"User","site_admin":false},"created_at":"2016-12-05T06:16:18Z","updated_at":"2016-12-05T06:16:18Z","body":"@arashb31 I apologize for the delay in responding. I've not been able to reproduce the issue. Do you have a gist, jsfiddle or something that consistently shows this happening? Also - what version of postal and lodash were you using?"}}
{"actor":{"display_login":"ifandelse"}}