{"action":"created","issue":{"url":"https://api.github.com/repos/emqtt/emqttd/issues/295","labels_url":"https://api.github.com/repos/emqtt/emqttd/issues/295/labels{/name}","comments_url":"https://api.github.com/repos/emqtt/emqttd/issues/295/comments","events_url":"https://api.github.com/repos/emqtt/emqttd/issues/295/events","html_url":"https://github.com/emqtt/emqttd/issues/295","id":106283160,"number":295,"title":"how to support offline messages ?","user":{"login":"honger05","id":8788044,"avatar_url":"https://avatars.githubusercontent.com/u/8788044?v=3","gravatar_id":"","url":"https://api.github.com/users/honger05","html_url":"https://github.com/honger05","followers_url":"https://api.github.com/users/honger05/followers","following_url":"https://api.github.com/users/honger05/following{/other_user}","gists_url":"https://api.github.com/users/honger05/gists{/gist_id}","starred_url":"https://api.github.com/users/honger05/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/honger05/subscriptions","organizations_url":"https://api.github.com/users/honger05/orgs","repos_url":"https://api.github.com/users/honger05/repos","events_url":"https://api.github.com/users/honger05/events{/privacy}","received_events_url":"https://api.github.com/users/honger05/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-14T07:01:55Z","updated_at":"2015-09-14T07:47:38Z","closed_at":null,"body":"Hi, I'm a javascripter\r\n\r\nI don't konw how does offline-messages work!\r\n\r\nAs far as I can understand, connected the host, and subscribe a topic, then can receive the messages that host published.\r\n\r\nThen disconnected the host, can I receive the messages when connected ? the answer is no.\r\n\r\nI must connect and subscribe first.\r\n\r\n so how does offline-messages mean ?"},"comment":{"url":"https://api.github.com/repos/emqtt/emqttd/issues/comments/139986853","html_url":"https://github.com/emqtt/emqttd/issues/295#issuecomment-139986853","issue_url":"https://api.github.com/repos/emqtt/emqttd/issues/295","id":139986853,"user":{"login":"erylee","id":11869,"avatar_url":"https://avatars.githubusercontent.com/u/11869?v=3","gravatar_id":"","url":"https://api.github.com/users/erylee","html_url":"https://github.com/erylee","followers_url":"https://api.github.com/users/erylee/followers","following_url":"https://api.github.com/users/erylee/following{/other_user}","gists_url":"https://api.github.com/users/erylee/gists{/gist_id}","starred_url":"https://api.github.com/users/erylee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erylee/subscriptions","organizations_url":"https://api.github.com/users/erylee/orgs","repos_url":"https://api.github.com/users/erylee/repos","events_url":"https://api.github.com/users/erylee/events{/privacy}","received_events_url":"https://api.github.com/users/erylee/received_events","type":"User","site_admin":false},"created_at":"2015-09-14T07:47:37Z","updated_at":"2015-09-14T07:47:37Z","body":"MQTT protocol supports 'clean session' flag.  If the 'clean session' is set to false, the broker will keep a session to receive messages when the client is disconnected. "}}