{"action":"created","issue":{"url":"https://api.github.com/repos/CometChat/ios-objective-c-chat-sdk-demo/issues/7","repository_url":"https://api.github.com/repos/CometChat/ios-objective-c-chat-sdk-demo","labels_url":"https://api.github.com/repos/CometChat/ios-objective-c-chat-sdk-demo/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/CometChat/ios-objective-c-chat-sdk-demo/issues/7/comments","events_url":"https://api.github.com/repos/CometChat/ios-objective-c-chat-sdk-demo/issues/7/events","html_url":"https://github.com/CometChat/ios-objective-c-chat-sdk-demo/issues/7","id":385130431,"node_id":"MDU6SXNzdWUzODUxMzA0MzE=","number":7,"title":"Image url does not set in Avatar ","user":{"login":"IMDGhanshyam","id":44672948,"node_id":"MDQ6VXNlcjQ0NjcyOTQ4","avatar_url":"https://avatars2.githubusercontent.com/u/44672948?v=4","gravatar_id":"","url":"https://api.github.com/users/IMDGhanshyam","html_url":"https://github.com/IMDGhanshyam","followers_url":"https://api.github.com/users/IMDGhanshyam/followers","following_url":"https://api.github.com/users/IMDGhanshyam/following{/other_user}","gists_url":"https://api.github.com/users/IMDGhanshyam/gists{/gist_id}","starred_url":"https://api.github.com/users/IMDGhanshyam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IMDGhanshyam/subscriptions","organizations_url":"https://api.github.com/users/IMDGhanshyam/orgs","repos_url":"https://api.github.com/users/IMDGhanshyam/repos","events_url":"https://api.github.com/users/IMDGhanshyam/events{/privacy}","received_events_url":"https://api.github.com/users/IMDGhanshyam/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-11-28T07:07:38Z","updated_at":"2018-12-21T11:42:00Z","closed_at":null,"author_association":"NONE","body":"-(void)registerUserOnCometChat:(NSString*)strUID userName:(NSString*)name profileImage:(NSString*)imgURL {\r\n \r\n    //NSString *profileURL = @\"\";\r\n    NSString *role = @\"\";\r\n    NSLog(@\"profileImage : %@\",imgURL );\r\n    [self.cometChat createUser:strUID userName:name avatarUrl:imgURL profileUrl:imgURL role:role success:^(NSDictionary *response) {\r\n        \r\n        NSLog(@\"User Created Successfully %@\",response);\r\n        [self loginIntoCometChat];\r\n        \r\n    } failure:^(NSError *error) {\r\n        NSLog(@\"Failed %@\",error);\r\n    }];\r\n}\r\n\r\n![screenshot 2018-11-28 at 12 31 45 pm](https://user-images.githubusercontent.com/44672948/49134586-10178700-f30a-11e8-92e2-78d038149293.png)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/CometChat/ios-objective-c-chat-sdk-demo/issues/comments/449367177","html_url":"https://github.com/CometChat/ios-objective-c-chat-sdk-demo/issues/7#issuecomment-449367177","issue_url":"https://api.github.com/repos/CometChat/ios-objective-c-chat-sdk-demo/issues/7","id":449367177,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0OTM2NzE3Nw==","user":{"login":"vikrantwadate","id":22591725,"node_id":"MDQ6VXNlcjIyNTkxNzI1","avatar_url":"https://avatars2.githubusercontent.com/u/22591725?v=4","gravatar_id":"","url":"https://api.github.com/users/vikrantwadate","html_url":"https://github.com/vikrantwadate","followers_url":"https://api.github.com/users/vikrantwadate/followers","following_url":"https://api.github.com/users/vikrantwadate/following{/other_user}","gists_url":"https://api.github.com/users/vikrantwadate/gists{/gist_id}","starred_url":"https://api.github.com/users/vikrantwadate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vikrantwadate/subscriptions","organizations_url":"https://api.github.com/users/vikrantwadate/orgs","repos_url":"https://api.github.com/users/vikrantwadate/repos","events_url":"https://api.github.com/users/vikrantwadate/events{/privacy}","received_events_url":"https://api.github.com/users/vikrantwadate/received_events","type":"User","site_admin":false},"created_at":"2018-12-21T11:42:00Z","updated_at":"2018-12-21T11:42:00Z","author_association":"NONE","body":"Hello,\r\n\r\nThe issue is resolved. However, it seems that you have used the avatarUrl as a profileUrl. You cannot use the avatarUrl for profileUrl.\r\n\r\nWe request you to try again with correct parameters.\r\n\r\nThanks."}}
{"actor":{"display_login":"vikrantwadate"}}