{"action":"created","issue":{"url":"https://api.github.com/repos/erlio/vernemq/issues/78","labels_url":"https://api.github.com/repos/erlio/vernemq/issues/78/labels{/name}","comments_url":"https://api.github.com/repos/erlio/vernemq/issues/78/comments","events_url":"https://api.github.com/repos/erlio/vernemq/issues/78/events","html_url":"https://github.com/erlio/vernemq/issues/78","id":122105291,"number":78,"title":"Provide topic and payload to 'on_offline_message'?","user":{"login":"testark","id":15380492,"avatar_url":"https://avatars.githubusercontent.com/u/15380492?v=3","gravatar_id":"","url":"https://api.github.com/users/testark","html_url":"https://github.com/testark","followers_url":"https://api.github.com/users/testark/followers","following_url":"https://api.github.com/users/testark/following{/other_user}","gists_url":"https://api.github.com/users/testark/gists{/gist_id}","starred_url":"https://api.github.com/users/testark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/testark/subscriptions","organizations_url":"https://api.github.com/users/testark/orgs","repos_url":"https://api.github.com/users/testark/repos","events_url":"https://api.github.com/users/testark/events{/privacy}","received_events_url":"https://api.github.com/users/testark/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-14T18:48:19Z","updated_at":"2015-12-17T08:45:21Z","closed_at":null,"body":"It would be great to have a message's topic and payload to be provided to the `on_offline_message` hook (alongside the `SubscriberId` parameter). I guess this would require changes in both `vmq_commons` and `vmq_server` to accomodate for an extra two parameters, but would most certainly come in handy. @ioolkos @dergraf what do you think?"},"comment":{"url":"https://api.github.com/repos/erlio/vernemq/issues/comments/165385212","html_url":"https://github.com/erlio/vernemq/issues/78#issuecomment-165385212","issue_url":"https://api.github.com/repos/erlio/vernemq/issues/78","id":165385212,"user":{"login":"ioolkos","id":282359,"avatar_url":"https://avatars.githubusercontent.com/u/282359?v=3","gravatar_id":"","url":"https://api.github.com/users/ioolkos","html_url":"https://github.com/ioolkos","followers_url":"https://api.github.com/users/ioolkos/followers","following_url":"https://api.github.com/users/ioolkos/following{/other_user}","gists_url":"https://api.github.com/users/ioolkos/gists{/gist_id}","starred_url":"https://api.github.com/users/ioolkos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ioolkos/subscriptions","organizations_url":"https://api.github.com/users/ioolkos/orgs","repos_url":"https://api.github.com/users/ioolkos/repos","events_url":"https://api.github.com/users/ioolkos/events{/privacy}","received_events_url":"https://api.github.com/users/ioolkos/received_events","type":"User","site_admin":false},"created_at":"2015-12-17T08:45:21Z","updated_at":"2015-12-17T08:45:21Z","body":"I second this, if you find it handy. @der_graf, what's your opinion here?\r\nCan we think of use cases for this?"}}