{"action":"created","comment":{"url":"https://api.github.com/repos/OpenDungeons/OpenDungeons/pulls/comments/27731125","id":27731125,"diff_hunk":"@@ -1070,63 +1035,93 @@ bool GameMode::keyPressedChat(const OIS::KeyEvent &arg)\n void GameMode::receiveChat(ChatMessage* message)\n {\n     mChatMessages.emplace_back(message);\n+\n+    // Adds the message right away\n+    CEGUI::Window* chatTextBox = getModeManager().getGui().getGuiSheet(Gui::inGameMenu)->getChild(\"GameChatWindow/GameChatText\");\n+    chatTextBox->appendText(reinterpret_cast<const CEGUI::utf8*>(message->getMessageAsString().c_str()));\n+\n+    // Ensure the latest text is shown\n+    CEGUI::Scrollbar* scrollBar = reinterpret_cast<CEGUI::Scrollbar*>(chatTextBox->getChild(\"__auto_vscrollbar__\"));","path":"source/modes/GameMode.cpp","position":92,"original_position":59,"commit_id":"26a0285c40891b2baf283eb062fc3a43f8a8d738","original_commit_id":"a6d6a2667f80d289bb602fe9cc7eaea0f87a8f31","user":{"login":"Bertram25","id":765917,"avatar_url":"https://avatars.githubusercontent.com/u/765917?v=3","gravatar_id":"","url":"https://api.github.com/users/Bertram25","html_url":"https://github.com/Bertram25","followers_url":"https://api.github.com/users/Bertram25/followers","following_url":"https://api.github.com/users/Bertram25/following{/other_user}","gists_url":"https://api.github.com/users/Bertram25/gists{/gist_id}","starred_url":"https://api.github.com/users/Bertram25/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bertram25/subscriptions","organizations_url":"https://api.github.com/users/Bertram25/orgs","repos_url":"https://api.github.com/users/Bertram25/repos","events_url":"https://api.github.com/users/Bertram25/events{/privacy}","received_events_url":"https://api.github.com/users/Bertram25/received_events","type":"User","site_admin":false},"body":"@oyvindln Unfortunately, the static_casr doesn't compile for me (and for both.).","created_at":"2015-04-03T14:15:18Z","updated_at":"2015-04-03T14:15:18Z","html_url":"https://github.com/OpenDungeons/OpenDungeons/pull/613#discussion_r27731125","pull_request_url":"https://api.github.com/repos/OpenDungeons/OpenDungeons/pulls/613","_links":{"self":{"href":"https://api.github.com/repos/OpenDungeons/OpenDungeons/pulls/comments/27731125"},"html":{"href":"https://github.com/OpenDungeons/OpenDungeons/pull/613#discussion_r27731125"},"pull_request":{"href":"https://api.github.com/repos/OpenDungeons/OpenDungeons/pulls/613"}}},"pull_request":{"url":"https://api.github.com/repos/OpenDungeons/OpenDungeons/pulls/613","id":32588999,"html_url":"https://github.com/OpenDungeons/OpenDungeons/pull/613","diff_url":"https://github.com/OpenDungeons/OpenDungeons/pull/613.diff","patch_url":"https://github.com/OpenDungeons/OpenDungeons/pull/613.patch","issue_url":"https://api.github.com/repos/OpenDungeons/OpenDungeons/issues/613","number":613,"state":"open","locked":false,"title":"Chat handling logic improvement + fixes...","user":{"login":"Bertram25","id":765917,"avatar_url":"https://avatars.githubusercontent.com/u/765917?v=3","gravatar_id":"","url":"https://api.github.com/users/Bertram25","html_url":"https://github.com/Bertram25","followers_url":"https://api.github.com/users/Bertram25/followers","following_url":"https://api.github.com/users/Bertram25/following{/other_user}","gists_url":"https://api.github.com/users/Bertram25/gists{/gist_id}","starred_url":"https://api.github.com/users/Bertram25/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bertram25/subscriptions","organizations_url":"https://api.github.com/users/Bertram25/orgs","repos_url":"https://api.github.com/users/Bertram25/repos","events_url":"https://api.github.com/users/Bertram25/events{/privacy}","received_events_url":"https://api.github.com/users/Bertram25/received_events","type":"User","site_admin":false},"body":"As requested by @hwoarangmy and to fix a bug seen by @akien-mga .\r\n\r\nI also wanted to say that I've been quite ill those few days and I must say I've avoided any kind of screens so my apologize for being invisible the last few days.\r\n\r\nBut fortunately, I can see it doesn't prevent anyone from bringing on the good stuff. :)","created_at":"2015-04-03T13:35:11Z","updated_at":"2015-04-03T14:15:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"57c8674e1ac7a9c0b2d13b56be2de4f0afa85a82","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/OpenDungeons/OpenDungeons/pulls/613/commits","review_comments_url":"https://api.github.com/repos/OpenDungeons/OpenDungeons/pulls/613/comments","review_comment_url":"https://api.github.com/repos/OpenDungeons/OpenDungeons/pulls/comments{/number}","comments_url":"https://api.github.com/repos/OpenDungeons/OpenDungeons/issues/613/comments","statuses_url":"https://api.github.com/repos/OpenDungeons/OpenDungeons/statuses/26a0285c40891b2baf283eb062fc3a43f8a8d738","head":{"label":"Bertram25:development","ref":"development","sha":"26a0285c40891b2baf283eb062fc3a43f8a8d738","user":{"login":"Bertram25","id":765917,"avatar_url":"https://avatars.githubusercontent.com/u/765917?v=3","gravatar_id":"","url":"https://api.github.com/users/Bertram25","html_url":"https://github.com/Bertram25","followers_url":"https://api.github.com/users/Bertram25/followers","following_url":"https://api.github.com/users/Bertram25/following{/other_user}","gists_url":"https://api.github.com/users/Bertram25/gists{/gist_id}","starred_url":"https://api.github.com/users/Bertram25/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bertram25/subscriptions","organizations_url":"https://api.github.com/users/Bertram25/orgs","repos_url":"https://api.github.com/users/Bertram25/repos","events_url":"https://api.github.com/users/Bertram25/events{/privacy}","received_events_url":"https://api.github.com/users/Bertram25/received_events","type":"User","site_admin":false},"repo":{"id":22377690,"name":"OpenDungeons","full_name":"Bertram25/OpenDungeons","owner":{"login":"Bertram25","id":765917,"avatar_url":"https://avatars.githubusercontent.com/u/765917?v=3","gravatar_id":"","url":"https://api.github.com/users/Bertram25","html_url":"https://github.com/Bertram25","followers_url":"https://api.github.com/users/Bertram25/followers","following_url":"https://api.github.com/users/Bertram25/following{/other_user}","gists_url":"https://api.github.com/users/Bertram25/gists{/gist_id}","starred_url":"https://api.github.com/users/Bertram25/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bertram25/subscriptions","organizations_url":"https://api.github.com/users/Bertram25/orgs","repos_url":"https://api.github.com/users/Bertram25/repos","events_url":"https://api.github.com/users/Bertram25/events{/privacy}","received_events_url":"https://api.github.com/users/Bertram25/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Bertram25/OpenDungeons","description":"Open source game inspired by Dungeon Keeper","fork":true,"url":"https://api.github.com/repos/Bertram25/OpenDungeons","forks_url":"https://api.github.com/repos/Bertram25/OpenDungeons/forks","keys_url":"https://api.github.com/repos/Bertram25/OpenDungeons/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Bertram25/OpenDungeons/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Bertram25/OpenDungeons/teams","hooks_url":"https://api.github.com/repos/Bertram25/OpenDungeons/hooks","issue_events_url":"https://api.github.com/repos/Bertram25/OpenDungeons/issues/events{/number}","events_url":"https://api.github.com/repos/Bertram25/OpenDungeons/events","assignees_url":"https://api.github.com/repos/Bertram25/OpenDungeons/assignees{/user}","branches_url":"https://api.github.com/repos/Bertram25/OpenDungeons/branches{/branch}","tags_url":"https://api.github.com/repos/Bertram25/OpenDungeons/tags","blobs_url":"https://api.github.com/repos/Bertram25/OpenDungeons/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Bertram25/OpenDungeons/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Bertram25/OpenDungeons/git/refs{/sha}","trees_url":"https://api.github.com/repos/Bertram25/OpenDungeons/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Bertram25/OpenDungeons/statuses/{sha}","languages_url":"https://api.github.com/repos/Bertram25/OpenDungeons/languages","stargazers_url":"https://api.github.com/repos/Bertram25/OpenDungeons/stargazers","contributors_url":"https://api.github.com/repos/Bertram25/OpenDungeons/contributors","subscribers_url":"https://api.github.com/repos/Bertram25/OpenDungeons/subscribers","subscription_url":"https://api.github.com/repos/Bertram25/OpenDungeons/subscription","commits_url":"https://api.github.com/repos/Bertram25/OpenDungeons/commits{/sha}","git_commits_url":"https://api.github.com/repos/Bertram25/OpenDungeons/git/commits{/sha}","comments_url":"https://api.github.com/repos/Bertram25/OpenDungeons/comments{/number}","issue_comment_url":"https://api.github.com/repos/Bertram25/OpenDungeons/issues/comments{/number}","contents_url":"https://api.github.com/repos/Bertram25/OpenDungeons/contents/{+path}","compare_url":"https://api.github.com/repos/Bertram25/OpenDungeons/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Bertram25/OpenDungeons/merges","archive_url":"https://api.github.com/repos/Bertram25/OpenDungeons/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Bertram25/OpenDungeons/downloads","issues_url":"https://api.github.com/repos/Bertram25/OpenDungeons/issues{/number}","pulls_url":"https://api.github.com/repos/Bertram25/OpenDungeons/pulls{/number}","milestones_url":"https://api.github.com/repos/Bertram25/OpenDungeons/milestones{/number}","notifications_url":"https://api.github.com/repos/Bertram25/OpenDungeons/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Bertram25/OpenDungeons/labels{/name}","releases_url":"https://api.github.com/repos/Bertram25/OpenDungeons/releases{/id}","created_at":"2014-07-29T11:31:55Z","updated_at":"2015-04-03T14:13:59Z","pushed_at":"2015-04-03T14:13:59Z","git_url":"git://github.com/Bertram25/OpenDungeons.git","ssh_url":"git@github.com:Bertram25/OpenDungeons.git","clone_url":"https://github.com/Bertram25/OpenDungeons.git","svn_url":"https://github.com/Bertram25/OpenDungeons","homepage":"http://opendungeons.sourceforge.net/","size":207533,"stargazers_count":1,"watchers_count":1,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":1,"default_branch":"development"}},"base":{"label":"OpenDungeons:development","ref":"development","sha":"f4897312bc886b7fd7a05902b20ed1ebefac8dd8","user":{"login":"OpenDungeons","id":8298376,"avatar_url":"https://avatars.githubusercontent.com/u/8298376?v=3","gravatar_id":"","url":"https://api.github.com/users/OpenDungeons","html_url":"https://github.com/OpenDungeons","followers_url":"https://api.github.com/users/OpenDungeons/followers","following_url":"https://api.github.com/users/OpenDungeons/following{/other_user}","gists_url":"https://api.github.com/users/OpenDungeons/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenDungeons/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenDungeons/subscriptions","organizations_url":"https://api.github.com/users/OpenDungeons/orgs","repos_url":"https://api.github.com/users/OpenDungeons/repos","events_url":"https://api.github.com/users/OpenDungeons/events{/privacy}","received_events_url":"https://api.github.com/users/OpenDungeons/received_events","type":"Organization","site_admin":false},"repo":{"id":22376157,"name":"OpenDungeons","full_name":"OpenDungeons/OpenDungeons","owner":{"login":"OpenDungeons","id":8298376,"avatar_url":"https://avatars.githubusercontent.com/u/8298376?v=3","gravatar_id":"","url":"https://api.github.com/users/OpenDungeons","html_url":"https://github.com/OpenDungeons","followers_url":"https://api.github.com/users/OpenDungeons/followers","following_url":"https://api.github.com/users/OpenDungeons/following{/other_user}","gists_url":"https://api.github.com/users/OpenDungeons/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenDungeons/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenDungeons/subscriptions","organizations_url":"https://api.github.com/users/OpenDungeons/orgs","repos_url":"https://api.github.com/users/OpenDungeons/repos","events_url":"https://api.github.com/users/OpenDungeons/events{/privacy}","received_events_url":"https://api.github.com/users/OpenDungeons/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/OpenDungeons/OpenDungeons","description":"Open source game inspired by Dungeon Keeper - Dark, damp and dangerous...","fork":false,"url":"https://api.github.com/repos/OpenDungeons/OpenDungeons","forks_url":"https://api.github.com/repos/OpenDungeons/OpenDungeons/forks","keys_url":"https://api.github.com/repos/OpenDungeons/OpenDungeons/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OpenDungeons/OpenDungeons/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OpenDungeons/OpenDungeons/teams","hooks_url":"https://api.github.com/repos/OpenDungeons/OpenDungeons/hooks","issue_events_url":"https://api.github.com/repos/OpenDungeons/OpenDungeons/issues/events{/number}","events_url":"https://api.github.com/repos/OpenDungeons/OpenDungeons/events","assignees_url":"https://api.github.com/repos/OpenDungeons/OpenDungeons/assignees{/user}","branches_url":"https://api.github.com/repos/OpenDungeons/OpenDungeons/branches{/branch}","tags_url":"https://api.github.com/repos/OpenDungeons/OpenDungeons/tags","blobs_url":"https://api.github.com/repos/OpenDungeons/OpenDungeons/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OpenDungeons/OpenDungeons/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OpenDungeons/OpenDungeons/git/refs{/sha}","trees_url":"https://api.github.com/repos/OpenDungeons/OpenDungeons/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OpenDungeons/OpenDungeons/statuses/{sha}","languages_url":"https://api.github.com/repos/OpenDungeons/OpenDungeons/languages","stargazers_url":"https://api.github.com/repos/OpenDungeons/OpenDungeons/stargazers","contributors_url":"https://api.github.com/repos/OpenDungeons/OpenDungeons/contributors","subscribers_url":"https://api.github.com/repos/OpenDungeons/OpenDungeons/subscribers","subscription_url":"https://api.github.com/repos/OpenDungeons/OpenDungeons/subscription","commits_url":"https://api.github.com/repos/OpenDungeons/OpenDungeons/commits{/sha}","git_commits_url":"https://api.github.com/repos/OpenDungeons/OpenDungeons/git/commits{/sha}","comments_url":"https://api.github.com/repos/OpenDungeons/OpenDungeons/comments{/number}","issue_comment_url":"https://api.github.com/repos/OpenDungeons/OpenDungeons/issues/comments{/number}","contents_url":"https://api.github.com/repos/OpenDungeons/OpenDungeons/contents/{+path}","compare_url":"https://api.github.com/repos/OpenDungeons/OpenDungeons/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OpenDungeons/OpenDungeons/merges","archive_url":"https://api.github.com/repos/OpenDungeons/OpenDungeons/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OpenDungeons/OpenDungeons/downloads","issues_url":"https://api.github.com/repos/OpenDungeons/OpenDungeons/issues{/number}","pulls_url":"https://api.github.com/repos/OpenDungeons/OpenDungeons/pulls{/number}","milestones_url":"https://api.github.com/repos/OpenDungeons/OpenDungeons/milestones{/number}","notifications_url":"https://api.github.com/repos/OpenDungeons/OpenDungeons/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OpenDungeons/OpenDungeons/labels{/name}","releases_url":"https://api.github.com/repos/OpenDungeons/OpenDungeons/releases{/id}","created_at":"2014-07-29T10:24:41Z","updated_at":"2015-04-01T21:58:44Z","pushed_at":"2015-04-03T14:14:00Z","git_url":"git://github.com/OpenDungeons/OpenDungeons.git","ssh_url":"git@github.com:OpenDungeons/OpenDungeons.git","clone_url":"https://github.com/OpenDungeons/OpenDungeons.git","svn_url":"https://github.com/OpenDungeons/OpenDungeons","homepage":"http://opendungeons.sourceforge.net/","size":213440,"stargazers_count":19,"watchers_count":19,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":42,"forks":9,"open_issues":42,"watchers":19,"default_branch":"development"}},"_links":{"self":{"href":"https://api.github.com/repos/OpenDungeons/OpenDungeons/pulls/613"},"html":{"href":"https://github.com/OpenDungeons/OpenDungeons/pull/613"},"issue":{"href":"https://api.github.com/repos/OpenDungeons/OpenDungeons/issues/613"},"comments":{"href":"https://api.github.com/repos/OpenDungeons/OpenDungeons/issues/613/comments"},"review_comments":{"href":"https://api.github.com/repos/OpenDungeons/OpenDungeons/pulls/613/comments"},"review_comment":{"href":"https://api.github.com/repos/OpenDungeons/OpenDungeons/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/OpenDungeons/OpenDungeons/pulls/613/commits"},"statuses":{"href":"https://api.github.com/repos/OpenDungeons/OpenDungeons/statuses/26a0285c40891b2baf283eb062fc3a43f8a8d738"}}}}