{"action":"created","issue":{"url":"https://api.github.com/repos/QuickBlox/quickblox-ios-sdk/issues/309","repository_url":"https://api.github.com/repos/QuickBlox/quickblox-ios-sdk","labels_url":"https://api.github.com/repos/QuickBlox/quickblox-ios-sdk/issues/309/labels{/name}","comments_url":"https://api.github.com/repos/QuickBlox/quickblox-ios-sdk/issues/309/comments","events_url":"https://api.github.com/repos/QuickBlox/quickblox-ios-sdk/issues/309/events","html_url":"https://github.com/QuickBlox/quickblox-ios-sdk/issues/309","id":136663318,"number":309,"title":"Quick reply after open app lost message issue.","user":{"login":"matrosovDev","id":4507851,"avatar_url":"https://avatars.githubusercontent.com/u/4507851?v=3","gravatar_id":"","url":"https://api.github.com/users/matrosovDev","html_url":"https://github.com/matrosovDev","followers_url":"https://api.github.com/users/matrosovDev/followers","following_url":"https://api.github.com/users/matrosovDev/following{/other_user}","gists_url":"https://api.github.com/users/matrosovDev/gists{/gist_id}","starred_url":"https://api.github.com/users/matrosovDev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matrosovDev/subscriptions","organizations_url":"https://api.github.com/users/matrosovDev/orgs","repos_url":"https://api.github.com/users/matrosovDev/repos","events_url":"https://api.github.com/users/matrosovDev/events{/privacy}","received_events_url":"https://api.github.com/users/matrosovDev/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-02-26T10:54:23Z","updated_at":"2016-03-03T15:22:12Z","closed_at":null,"body":"Hi guys, correct me if I'm wrong. As I understood when app get `- appWillResignActive` invocation we need to disconnect chat service to have ability to receive Push Notification. But the next problem here when I want to re open application and retrieve new message in the same time I can post message very quick and in the same time I am still waiting for completion receiving messages from another user. In this case I have a problem because I disconnected service and I need to reconnect with getting messages, but we will lost a message in this case because reconnecting take some time and post message operation will not trigger call back that add message to memory storage until completion:\r\n\r\n`chatService.connectWithCompletionBlock`"},"comment":{"url":"https://api.github.com/repos/QuickBlox/quickblox-ios-sdk/issues/comments/191812668","html_url":"https://github.com/QuickBlox/quickblox-ios-sdk/issues/309#issuecomment-191812668","issue_url":"https://api.github.com/repos/QuickBlox/quickblox-ios-sdk/issues/309","id":191812668,"user":{"login":"Raikerian","id":8850270,"avatar_url":"https://avatars.githubusercontent.com/u/8850270?v=3","gravatar_id":"","url":"https://api.github.com/users/Raikerian","html_url":"https://github.com/Raikerian","followers_url":"https://api.github.com/users/Raikerian/followers","following_url":"https://api.github.com/users/Raikerian/following{/other_user}","gists_url":"https://api.github.com/users/Raikerian/gists{/gist_id}","starred_url":"https://api.github.com/users/Raikerian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Raikerian/subscriptions","organizations_url":"https://api.github.com/users/Raikerian/orgs","repos_url":"https://api.github.com/users/Raikerian/repos","events_url":"https://api.github.com/users/Raikerian/events{/privacy}","received_events_url":"https://api.github.com/users/Raikerian/received_events","type":"User","site_admin":false},"created_at":"2016-03-03T15:22:11Z","updated_at":"2016-03-03T15:22:11Z","body":"By REST I meant QBRequest methods.\r\nCheck out our samples, especially this: https://github.com/QuickBlox/quickblox-ios-sdk/blob/master/sample-chat/sample-chat/ViewController/ChatViewController.m#L129"}}