{"action":"created","comment":{"url":"https://api.github.com/repos/tux3/qTox/pulls/comments/38665003","id":38665003,"diff_hunk":"@@ -706,7 +706,7 @@ void Widget::setStatusMessage(const QString &statusMessage)\n void Widget::reloadHistory()\n {\n     for (auto f : FriendList::getAllFriends())\n-        f->getChatForm()->loadHistory(QDateTime::currentDateTime().addDays(-7), true);\n+        f->getChatForm()->loadHistory(QDateTime::currentDateTime().addDays(-1), true);","path":"src/widget/widget.cpp","position":5,"original_position":5,"commit_id":"602143068c68fd2c39eeda2e622edffc41e1eaaf","original_commit_id":"602143068c68fd2c39eeda2e622edffc41e1eaaf","user":{"login":"tux3","id":5155966,"avatar_url":"https://avatars.githubusercontent.com/u/5155966?v=3","gravatar_id":"","url":"https://api.github.com/users/tux3","html_url":"https://github.com/tux3","followers_url":"https://api.github.com/users/tux3/followers","following_url":"https://api.github.com/users/tux3/following{/other_user}","gists_url":"https://api.github.com/users/tux3/gists{/gist_id}","starred_url":"https://api.github.com/users/tux3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tux3/subscriptions","organizations_url":"https://api.github.com/users/tux3/orgs","repos_url":"https://api.github.com/users/tux3/repos","events_url":"https://api.github.com/users/tux3/events{/privacy}","received_events_url":"https://api.github.com/users/tux3/received_events","type":"User","site_admin":false},"body":"This change is NOT mentioned in the PR description or any of the commit messages.\r\n\r\nChanging a `0` into a `this` to center some message boxes without mentioning it just annoys me a bit, but this is going too far.\r\nPlease don't sneak in unrelated changes with pull requests, or at least mention it in the description.\r\nSo apparently the only thing this does is that when the password is changed, we would reload 1 day of history instead of 1 week. This doesn't make much sense since in `Friend::loadHistory` we still load 1 week.\r\n\r\nWhat were you trying to do?","created_at":"2015-09-03T16:20:18Z","updated_at":"2015-09-03T16:20:18Z","html_url":"https://github.com/tux3/qTox/pull/2150#discussion_r38665003","pull_request_url":"https://api.github.com/repos/tux3/qTox/pulls/2150","_links":{"self":{"href":"https://api.github.com/repos/tux3/qTox/pulls/comments/38665003"},"html":{"href":"https://github.com/tux3/qTox/pull/2150#discussion_r38665003"},"pull_request":{"href":"https://api.github.com/repos/tux3/qTox/pulls/2150"}}},"pull_request":{"url":"https://api.github.com/repos/tux3/qTox/pulls/2150","id":43718966,"html_url":"https://github.com/tux3/qTox/pull/2150","diff_url":"https://github.com/tux3/qTox/pull/2150.diff","patch_url":"https://github.com/tux3/qTox/pull/2150.patch","issue_url":"https://api.github.com/repos/tux3/qTox/issues/2150","number":2150,"state":"open","locked":false,"title":"set one global initial file accept directory for all file transfers","user":{"login":"agilob","id":2544251,"avatar_url":"https://avatars.githubusercontent.com/u/2544251?v=3","gravatar_id":"","url":"https://api.github.com/users/agilob","html_url":"https://github.com/agilob","followers_url":"https://api.github.com/users/agilob/followers","following_url":"https://api.github.com/users/agilob/following{/other_user}","gists_url":"https://api.github.com/users/agilob/gists{/gist_id}","starred_url":"https://api.github.com/users/agilob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agilob/subscriptions","organizations_url":"https://api.github.com/users/agilob/orgs","repos_url":"https://api.github.com/users/agilob/repos","events_url":"https://api.github.com/users/agilob/events{/privacy}","received_events_url":"https://api.github.com/users/agilob/received_events","type":"User","site_admin":false},"body":"One initial dir will be shared between per-friend/auto-accept and manually accepted files\r\n\r\nfixes #1818 ","created_at":"2015-08-30T19:38:25Z","updated_at":"2015-09-03T16:20:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5448ac78253ee31d8d85a15f2add80ecbf4a1708","assignee":{"login":"tux3","id":5155966,"avatar_url":"https://avatars.githubusercontent.com/u/5155966?v=3","gravatar_id":"","url":"https://api.github.com/users/tux3","html_url":"https://github.com/tux3","followers_url":"https://api.github.com/users/tux3/followers","following_url":"https://api.github.com/users/tux3/following{/other_user}","gists_url":"https://api.github.com/users/tux3/gists{/gist_id}","starred_url":"https://api.github.com/users/tux3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tux3/subscriptions","organizations_url":"https://api.github.com/users/tux3/orgs","repos_url":"https://api.github.com/users/tux3/repos","events_url":"https://api.github.com/users/tux3/events{/privacy}","received_events_url":"https://api.github.com/users/tux3/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/tux3/qTox/pulls/2150/commits","review_comments_url":"https://api.github.com/repos/tux3/qTox/pulls/2150/comments","review_comment_url":"https://api.github.com/repos/tux3/qTox/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tux3/qTox/issues/2150/comments","statuses_url":"https://api.github.com/repos/tux3/qTox/statuses/602143068c68fd2c39eeda2e622edffc41e1eaaf","head":{"label":"agilob:default_dir_for_saving","ref":"default_dir_for_saving","sha":"602143068c68fd2c39eeda2e622edffc41e1eaaf","user":{"login":"agilob","id":2544251,"avatar_url":"https://avatars.githubusercontent.com/u/2544251?v=3","gravatar_id":"","url":"https://api.github.com/users/agilob","html_url":"https://github.com/agilob","followers_url":"https://api.github.com/users/agilob/followers","following_url":"https://api.github.com/users/agilob/following{/other_user}","gists_url":"https://api.github.com/users/agilob/gists{/gist_id}","starred_url":"https://api.github.com/users/agilob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agilob/subscriptions","organizations_url":"https://api.github.com/users/agilob/orgs","repos_url":"https://api.github.com/users/agilob/repos","events_url":"https://api.github.com/users/agilob/events{/privacy}","received_events_url":"https://api.github.com/users/agilob/received_events","type":"User","site_admin":false},"repo":{"id":24942228,"name":"qTox","full_name":"agilob/qTox","owner":{"login":"agilob","id":2544251,"avatar_url":"https://avatars.githubusercontent.com/u/2544251?v=3","gravatar_id":"","url":"https://api.github.com/users/agilob","html_url":"https://github.com/agilob","followers_url":"https://api.github.com/users/agilob/followers","following_url":"https://api.github.com/users/agilob/following{/other_user}","gists_url":"https://api.github.com/users/agilob/gists{/gist_id}","starred_url":"https://api.github.com/users/agilob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agilob/subscriptions","organizations_url":"https://api.github.com/users/agilob/orgs","repos_url":"https://api.github.com/users/agilob/repos","events_url":"https://api.github.com/users/agilob/events{/privacy}","received_events_url":"https://api.github.com/users/agilob/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/agilob/qTox","description":"Powerful Tox client that follows the mockup. Formerly called toxgui","fork":true,"url":"https://api.github.com/repos/agilob/qTox","forks_url":"https://api.github.com/repos/agilob/qTox/forks","keys_url":"https://api.github.com/repos/agilob/qTox/keys{/key_id}","collaborators_url":"https://api.github.com/repos/agilob/qTox/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/agilob/qTox/teams","hooks_url":"https://api.github.com/repos/agilob/qTox/hooks","issue_events_url":"https://api.github.com/repos/agilob/qTox/issues/events{/number}","events_url":"https://api.github.com/repos/agilob/qTox/events","assignees_url":"https://api.github.com/repos/agilob/qTox/assignees{/user}","branches_url":"https://api.github.com/repos/agilob/qTox/branches{/branch}","tags_url":"https://api.github.com/repos/agilob/qTox/tags","blobs_url":"https://api.github.com/repos/agilob/qTox/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/agilob/qTox/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/agilob/qTox/git/refs{/sha}","trees_url":"https://api.github.com/repos/agilob/qTox/git/trees{/sha}","statuses_url":"https://api.github.com/repos/agilob/qTox/statuses/{sha}","languages_url":"https://api.github.com/repos/agilob/qTox/languages","stargazers_url":"https://api.github.com/repos/agilob/qTox/stargazers","contributors_url":"https://api.github.com/repos/agilob/qTox/contributors","subscribers_url":"https://api.github.com/repos/agilob/qTox/subscribers","subscription_url":"https://api.github.com/repos/agilob/qTox/subscription","commits_url":"https://api.github.com/repos/agilob/qTox/commits{/sha}","git_commits_url":"https://api.github.com/repos/agilob/qTox/git/commits{/sha}","comments_url":"https://api.github.com/repos/agilob/qTox/comments{/number}","issue_comment_url":"https://api.github.com/repos/agilob/qTox/issues/comments{/number}","contents_url":"https://api.github.com/repos/agilob/qTox/contents/{+path}","compare_url":"https://api.github.com/repos/agilob/qTox/compare/{base}...{head}","merges_url":"https://api.github.com/repos/agilob/qTox/merges","archive_url":"https://api.github.com/repos/agilob/qTox/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/agilob/qTox/downloads","issues_url":"https://api.github.com/repos/agilob/qTox/issues{/number}","pulls_url":"https://api.github.com/repos/agilob/qTox/pulls{/number}","milestones_url":"https://api.github.com/repos/agilob/qTox/milestones{/number}","notifications_url":"https://api.github.com/repos/agilob/qTox/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/agilob/qTox/labels{/name}","releases_url":"https://api.github.com/repos/agilob/qTox/releases{/id}","created_at":"2014-10-08T13:36:15Z","updated_at":"2014-10-08T15:12:46Z","pushed_at":"2015-08-31T12:59:49Z","git_url":"git://github.com/agilob/qTox.git","ssh_url":"git@github.com:agilob/qTox.git","clone_url":"https://github.com/agilob/qTox.git","svn_url":"https://github.com/agilob/qTox","homepage":"utoxisfinished.info","size":17718,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"tux3:master","ref":"master","sha":"f8cc36fc94ccccba9ff6c0a112dbc25c4c300f2b","user":{"login":"tux3","id":5155966,"avatar_url":"https://avatars.githubusercontent.com/u/5155966?v=3","gravatar_id":"","url":"https://api.github.com/users/tux3","html_url":"https://github.com/tux3","followers_url":"https://api.github.com/users/tux3/followers","following_url":"https://api.github.com/users/tux3/following{/other_user}","gists_url":"https://api.github.com/users/tux3/gists{/gist_id}","starred_url":"https://api.github.com/users/tux3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tux3/subscriptions","organizations_url":"https://api.github.com/users/tux3/orgs","repos_url":"https://api.github.com/users/tux3/repos","events_url":"https://api.github.com/users/tux3/events{/privacy}","received_events_url":"https://api.github.com/users/tux3/received_events","type":"User","site_admin":false},"repo":{"id":21179164,"name":"qTox","full_name":"tux3/qTox","owner":{"login":"tux3","id":5155966,"avatar_url":"https://avatars.githubusercontent.com/u/5155966?v=3","gravatar_id":"","url":"https://api.github.com/users/tux3","html_url":"https://github.com/tux3","followers_url":"https://api.github.com/users/tux3/followers","following_url":"https://api.github.com/users/tux3/following{/other_user}","gists_url":"https://api.github.com/users/tux3/gists{/gist_id}","starred_url":"https://api.github.com/users/tux3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tux3/subscriptions","organizations_url":"https://api.github.com/users/tux3/orgs","repos_url":"https://api.github.com/users/tux3/repos","events_url":"https://api.github.com/users/tux3/events{/privacy}","received_events_url":"https://api.github.com/users/tux3/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tux3/qTox","description":"Powerful Tox client that follows the Tox design guidelines.","fork":false,"url":"https://api.github.com/repos/tux3/qTox","forks_url":"https://api.github.com/repos/tux3/qTox/forks","keys_url":"https://api.github.com/repos/tux3/qTox/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tux3/qTox/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tux3/qTox/teams","hooks_url":"https://api.github.com/repos/tux3/qTox/hooks","issue_events_url":"https://api.github.com/repos/tux3/qTox/issues/events{/number}","events_url":"https://api.github.com/repos/tux3/qTox/events","assignees_url":"https://api.github.com/repos/tux3/qTox/assignees{/user}","branches_url":"https://api.github.com/repos/tux3/qTox/branches{/branch}","tags_url":"https://api.github.com/repos/tux3/qTox/tags","blobs_url":"https://api.github.com/repos/tux3/qTox/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tux3/qTox/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tux3/qTox/git/refs{/sha}","trees_url":"https://api.github.com/repos/tux3/qTox/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tux3/qTox/statuses/{sha}","languages_url":"https://api.github.com/repos/tux3/qTox/languages","stargazers_url":"https://api.github.com/repos/tux3/qTox/stargazers","contributors_url":"https://api.github.com/repos/tux3/qTox/contributors","subscribers_url":"https://api.github.com/repos/tux3/qTox/subscribers","subscription_url":"https://api.github.com/repos/tux3/qTox/subscription","commits_url":"https://api.github.com/repos/tux3/qTox/commits{/sha}","git_commits_url":"https://api.github.com/repos/tux3/qTox/git/commits{/sha}","comments_url":"https://api.github.com/repos/tux3/qTox/comments{/number}","issue_comment_url":"https://api.github.com/repos/tux3/qTox/issues/comments{/number}","contents_url":"https://api.github.com/repos/tux3/qTox/contents/{+path}","compare_url":"https://api.github.com/repos/tux3/qTox/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tux3/qTox/merges","archive_url":"https://api.github.com/repos/tux3/qTox/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tux3/qTox/downloads","issues_url":"https://api.github.com/repos/tux3/qTox/issues{/number}","pulls_url":"https://api.github.com/repos/tux3/qTox/pulls{/number}","milestones_url":"https://api.github.com/repos/tux3/qTox/milestones{/number}","notifications_url":"https://api.github.com/repos/tux3/qTox/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tux3/qTox/labels{/name}","releases_url":"https://api.github.com/repos/tux3/qTox/releases{/id}","created_at":"2014-06-24T20:09:04Z","updated_at":"2015-09-03T10:56:53Z","pushed_at":"2015-09-03T15:25:16Z","git_url":"git://github.com/tux3/qTox.git","ssh_url":"git@github.com:tux3/qTox.git","clone_url":"https://github.com/tux3/qTox.git","svn_url":"https://github.com/tux3/qTox","homepage":"http://utoxisfinished.info","size":30030,"stargazers_count":561,"watchers_count":561,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":184,"mirror_url":null,"open_issues_count":363,"forks":184,"open_issues":363,"watchers":561,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tux3/qTox/pulls/2150"},"html":{"href":"https://github.com/tux3/qTox/pull/2150"},"issue":{"href":"https://api.github.com/repos/tux3/qTox/issues/2150"},"comments":{"href":"https://api.github.com/repos/tux3/qTox/issues/2150/comments"},"review_comments":{"href":"https://api.github.com/repos/tux3/qTox/pulls/2150/comments"},"review_comment":{"href":"https://api.github.com/repos/tux3/qTox/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tux3/qTox/pulls/2150/commits"},"statuses":{"href":"https://api.github.com/repos/tux3/qTox/statuses/602143068c68fd2c39eeda2e622edffc41e1eaaf"}}}}