{"action":"created","issue":{"url":"https://api.github.com/repos/madagaga/WTalk/issues/2","repository_url":"https://api.github.com/repos/madagaga/WTalk","labels_url":"https://api.github.com/repos/madagaga/WTalk/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/madagaga/WTalk/issues/2/comments","events_url":"https://api.github.com/repos/madagaga/WTalk/issues/2/events","html_url":"https://github.com/madagaga/WTalk/issues/2","id":156086772,"number":2,"title":"Have to double-click to set focus on the New Message Box.","user":{"login":"algamer31","id":7473959,"avatar_url":"https://avatars.githubusercontent.com/u/7473959?v=3","gravatar_id":"","url":"https://api.github.com/users/algamer31","html_url":"https://github.com/algamer31","followers_url":"https://api.github.com/users/algamer31/followers","following_url":"https://api.github.com/users/algamer31/following{/other_user}","gists_url":"https://api.github.com/users/algamer31/gists{/gist_id}","starred_url":"https://api.github.com/users/algamer31/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/algamer31/subscriptions","organizations_url":"https://api.github.com/users/algamer31/orgs","repos_url":"https://api.github.com/users/algamer31/repos","events_url":"https://api.github.com/users/algamer31/events{/privacy}","received_events_url":"https://api.github.com/users/algamer31/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-05-21T06:17:06Z","updated_at":"2016-05-21T06:39:27Z","closed_at":null,"body":"I think the problem is here, in this part of code: `Client.cs`\r\n\r\n        public void SetFocus(string conversationId)\r\n               {\r\n                  if (conversationId.Length == 0)\r\n                  return;\r\n\r\n            SetFocusRequest request = new SetFocusRequest()\r\n            {\r\n                request_header = RequestHeaderBody,\r\n                conversation_id = new ConversationId() { id = conversationId },\r\n                type = FocusType.FOCUS_TYPE_FOCUSED,\r\n                timeout_secs = 20\r\n            };\r\n                        \r\n            HttpResponseMessage message = _client.PostProtoJson(\"conversations/setfocus\", request);\r\n            message.Dispose();\r\n        }\r\n\r\nAnd in this application code: `ConversationViewModel.cs`\r\n\r\n       private void SetFocus()\r\n        {\r\n            \r\n            if(this.HasUnreadMessages)\r\n                _client.UpdateWaterMark(Conversation.Id, DateTime.UtcNow);\r\n\r\n            _client.SetFocus(Conversation.Id);\r\n            OnPropertyChanged(\"HasUnreadMessages\");\r\n        }"},"comment":{"url":"https://api.github.com/repos/madagaga/WTalk/issues/comments/220762124","html_url":"https://github.com/madagaga/WTalk/issues/2#issuecomment-220762124","issue_url":"https://api.github.com/repos/madagaga/WTalk/issues/2","id":220762124,"user":{"login":"madagaga","id":11767464,"avatar_url":"https://avatars.githubusercontent.com/u/11767464?v=3","gravatar_id":"","url":"https://api.github.com/users/madagaga","html_url":"https://github.com/madagaga","followers_url":"https://api.github.com/users/madagaga/followers","following_url":"https://api.github.com/users/madagaga/following{/other_user}","gists_url":"https://api.github.com/users/madagaga/gists{/gist_id}","starred_url":"https://api.github.com/users/madagaga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/madagaga/subscriptions","organizations_url":"https://api.github.com/users/madagaga/orgs","repos_url":"https://api.github.com/users/madagaga/repos","events_url":"https://api.github.com/users/madagaga/events{/privacy}","received_events_url":"https://api.github.com/users/madagaga/received_events","type":"User","site_admin":false},"created_at":"2016-05-21T06:39:27Z","updated_at":"2016-05-21T06:39:27Z","body":"☺ I don't remerber why"}}
{"actor":{"display_login":"madagaga"}}