{"action":"closed","issue":{"url":"https://api.github.com/repos/QuickBlox/quickblox-ios-sdk/issues/327","repository_url":"https://api.github.com/repos/QuickBlox/quickblox-ios-sdk","labels_url":"https://api.github.com/repos/QuickBlox/quickblox-ios-sdk/issues/327/labels{/name}","comments_url":"https://api.github.com/repos/QuickBlox/quickblox-ios-sdk/issues/327/comments","events_url":"https://api.github.com/repos/QuickBlox/quickblox-ios-sdk/issues/327/events","html_url":"https://github.com/QuickBlox/quickblox-ios-sdk/issues/327","id":139581870,"number":327,"title":"One to One QBChatDialog is not updating","user":{"login":"nirav700","id":13623200,"avatar_url":"https://avatars.githubusercontent.com/u/13623200?v=3","gravatar_id":"","url":"https://api.github.com/users/nirav700","html_url":"https://github.com/nirav700","followers_url":"https://api.github.com/users/nirav700/followers","following_url":"https://api.github.com/users/nirav700/following{/other_user}","gists_url":"https://api.github.com/users/nirav700/gists{/gist_id}","starred_url":"https://api.github.com/users/nirav700/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nirav700/subscriptions","organizations_url":"https://api.github.com/users/nirav700/orgs","repos_url":"https://api.github.com/users/nirav700/repos","events_url":"https://api.github.com/users/nirav700/events{/privacy}","received_events_url":"https://api.github.com/users/nirav700/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/QuickBlox/quickblox-ios-sdk/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-03-09T13:49:26Z","updated_at":"2016-03-22T12:03:53Z","closed_at":"2016-03-22T12:03:53Z","body":"Hello,\r\n\r\nI am trying to update one to one QBChatDialog but its not updating ,\r\nSay for example i am trying to update last message but it's always give me original last message but not i have recently updated last message in qbchatDialog\r\n\r\nI am using below method to update QBChatDialog in IOS Side.\r\n\r\n/**\r\n Update existing chat dialog\r\n \r\n @param dialog The dialog instance to update\r\n @param successBlock Block with response and updated chat dialog instances if request succeded\r\n @param errorBlock Block with response instance if request failed\r\n \r\n @return An instance of QBRequest for cancel operation mainly.\r\n */\r\n+ (QB_NONNULL QBRequest *)updateDialog:(QB_NONNULL QBChatDialog *)dialog\r\n                          successBlock:(QB_NULLABLE void (^)(QBResponse * QB_NONNULL_S response, QBChatDialog * QB_NULLABLE_S chatDialog))successBlock\r\n                            errorBlock:(QB_NULLABLE QBRequestErrorBlock)errorBlock;"}}