{"action":"created","comment":{"url":"https://api.github.com/repos/Eagly-messenger/Eagly-main/pulls/comments/34958144","id":34958144,"diff_hunk":"@@ -37,6 +38,29 @@ void PluginVK::sendText(QString &id, QString &text)\n     VKClient.sendMessage(messageToSend);\n }\n \n+void PluginVK::readThisMessage(Vreen::Message message)\n+{\n+    message.setUnread(true);\n+}\n+\n+void PluginVK::readMessage(const QString &id)","path":"PluginVK/PluginVK/pluginvk.cpp","position":15,"original_position":15,"commit_id":"20415b2514b4f08be47d3650fa195cad7e472bc0","original_commit_id":"20415b2514b4f08be47d3650fa195cad7e472bc0","user":{"login":"TanVD","id":10253437,"avatar_url":"https://avatars.githubusercontent.com/u/10253437?v=3","gravatar_id":"","url":"https://api.github.com/users/TanVD","html_url":"https://github.com/TanVD","followers_url":"https://api.github.com/users/TanVD/followers","following_url":"https://api.github.com/users/TanVD/following{/other_user}","gists_url":"https://api.github.com/users/TanVD/gists{/gist_id}","starred_url":"https://api.github.com/users/TanVD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TanVD/subscriptions","organizations_url":"https://api.github.com/users/TanVD/orgs","repos_url":"https://api.github.com/users/TanVD/repos","events_url":"https://api.github.com/users/TanVD/events{/privacy}","received_events_url":"https://api.github.com/users/TanVD/received_events","type":"User","site_admin":false},"body":"Надо бы научить эту функцию читать все сообщения в определённом интервале. Например с 20 назад до 30 назад. Тогда мы сможем читать все сообщения попавшие в обзор окна диалога","created_at":"2015-07-19T13:24:54Z","updated_at":"2015-07-19T13:24:54Z","html_url":"https://github.com/Eagly-messenger/Eagly-main/pull/8#discussion_r34958144","pull_request_url":"https://api.github.com/repos/Eagly-messenger/Eagly-main/pulls/8","_links":{"self":{"href":"https://api.github.com/repos/Eagly-messenger/Eagly-main/pulls/comments/34958144"},"html":{"href":"https://github.com/Eagly-messenger/Eagly-main/pull/8#discussion_r34958144"},"pull_request":{"href":"https://api.github.com/repos/Eagly-messenger/Eagly-main/pulls/8"}}},"pull_request":{"url":"https://api.github.com/repos/Eagly-messenger/Eagly-main/pulls/8","id":40102606,"html_url":"https://github.com/Eagly-messenger/Eagly-main/pull/8","diff_url":"https://github.com/Eagly-messenger/Eagly-main/pull/8.diff","patch_url":"https://github.com/Eagly-messenger/Eagly-main/pull/8.patch","issue_url":"https://api.github.com/repos/Eagly-messenger/Eagly-main/issues/8","number":8,"state":"open","locked":false,"title":"Reading messages","user":{"login":"kverty","id":11009168,"avatar_url":"https://avatars.githubusercontent.com/u/11009168?v=3","gravatar_id":"","url":"https://api.github.com/users/kverty","html_url":"https://github.com/kverty","followers_url":"https://api.github.com/users/kverty/followers","following_url":"https://api.github.com/users/kverty/following{/other_user}","gists_url":"https://api.github.com/users/kverty/gists{/gist_id}","starred_url":"https://api.github.com/users/kverty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kverty/subscriptions","organizations_url":"https://api.github.com/users/kverty/orgs","repos_url":"https://api.github.com/users/kverty/repos","events_url":"https://api.github.com/users/kverty/events{/privacy}","received_events_url":"https://api.github.com/users/kverty/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-07-16T07:45:40Z","updated_at":"2015-07-19T13:24:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5197728645c834c601c6a784b7d215cdf864c41e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Eagly-messenger/Eagly-main/pulls/8/commits","review_comments_url":"https://api.github.com/repos/Eagly-messenger/Eagly-main/pulls/8/comments","review_comment_url":"https://api.github.com/repos/Eagly-messenger/Eagly-main/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Eagly-messenger/Eagly-main/issues/8/comments","statuses_url":"https://api.github.com/repos/Eagly-messenger/Eagly-main/statuses/20415b2514b4f08be47d3650fa195cad7e472bc0","head":{"label":"Eagly-messenger:ReadingMessages","ref":"ReadingMessages","sha":"20415b2514b4f08be47d3650fa195cad7e472bc0","user":{"login":"Eagly-messenger","id":13202800,"avatar_url":"https://avatars.githubusercontent.com/u/13202800?v=3","gravatar_id":"","url":"https://api.github.com/users/Eagly-messenger","html_url":"https://github.com/Eagly-messenger","followers_url":"https://api.github.com/users/Eagly-messenger/followers","following_url":"https://api.github.com/users/Eagly-messenger/following{/other_user}","gists_url":"https://api.github.com/users/Eagly-messenger/gists{/gist_id}","starred_url":"https://api.github.com/users/Eagly-messenger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Eagly-messenger/subscriptions","organizations_url":"https://api.github.com/users/Eagly-messenger/orgs","repos_url":"https://api.github.com/users/Eagly-messenger/repos","events_url":"https://api.github.com/users/Eagly-messenger/events{/privacy}","received_events_url":"https://api.github.com/users/Eagly-messenger/received_events","type":"Organization","site_admin":false},"repo":{"id":38625598,"name":"Eagly-main","full_name":"Eagly-messenger/Eagly-main","owner":{"login":"Eagly-messenger","id":13202800,"avatar_url":"https://avatars.githubusercontent.com/u/13202800?v=3","gravatar_id":"","url":"https://api.github.com/users/Eagly-messenger","html_url":"https://github.com/Eagly-messenger","followers_url":"https://api.github.com/users/Eagly-messenger/followers","following_url":"https://api.github.com/users/Eagly-messenger/following{/other_user}","gists_url":"https://api.github.com/users/Eagly-messenger/gists{/gist_id}","starred_url":"https://api.github.com/users/Eagly-messenger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Eagly-messenger/subscriptions","organizations_url":"https://api.github.com/users/Eagly-messenger/orgs","repos_url":"https://api.github.com/users/Eagly-messenger/repos","events_url":"https://api.github.com/users/Eagly-messenger/events{/privacy}","received_events_url":"https://api.github.com/users/Eagly-messenger/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Eagly-messenger/Eagly-main","description":"","fork":false,"url":"https://api.github.com/repos/Eagly-messenger/Eagly-main","forks_url":"https://api.github.com/repos/Eagly-messenger/Eagly-main/forks","keys_url":"https://api.github.com/repos/Eagly-messenger/Eagly-main/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Eagly-messenger/Eagly-main/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Eagly-messenger/Eagly-main/teams","hooks_url":"https://api.github.com/repos/Eagly-messenger/Eagly-main/hooks","issue_events_url":"https://api.github.com/repos/Eagly-messenger/Eagly-main/issues/events{/number}","events_url":"https://api.github.com/repos/Eagly-messenger/Eagly-main/events","assignees_url":"https://api.github.com/repos/Eagly-messenger/Eagly-main/assignees{/user}","branches_url":"https://api.github.com/repos/Eagly-messenger/Eagly-main/branches{/branch}","tags_url":"https://api.github.com/repos/Eagly-messenger/Eagly-main/tags","blobs_url":"https://api.github.com/repos/Eagly-messenger/Eagly-main/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Eagly-messenger/Eagly-main/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Eagly-messenger/Eagly-main/git/refs{/sha}","trees_url":"https://api.github.com/repos/Eagly-messenger/Eagly-main/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Eagly-messenger/Eagly-main/statuses/{sha}","languages_url":"https://api.github.com/repos/Eagly-messenger/Eagly-main/languages","stargazers_url":"https://api.github.com/repos/Eagly-messenger/Eagly-main/stargazers","contributors_url":"https://api.github.com/repos/Eagly-messenger/Eagly-main/contributors","subscribers_url":"https://api.github.com/repos/Eagly-messenger/Eagly-main/subscribers","subscription_url":"https://api.github.com/repos/Eagly-messenger/Eagly-main/subscription","commits_url":"https://api.github.com/repos/Eagly-messenger/Eagly-main/commits{/sha}","git_commits_url":"https://api.github.com/repos/Eagly-messenger/Eagly-main/git/commits{/sha}","comments_url":"https://api.github.com/repos/Eagly-messenger/Eagly-main/comments{/number}","issue_comment_url":"https://api.github.com/repos/Eagly-messenger/Eagly-main/issues/comments{/number}","contents_url":"https://api.github.com/repos/Eagly-messenger/Eagly-main/contents/{+path}","compare_url":"https://api.github.com/repos/Eagly-messenger/Eagly-main/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Eagly-messenger/Eagly-main/merges","archive_url":"https://api.github.com/repos/Eagly-messenger/Eagly-main/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Eagly-messenger/Eagly-main/downloads","issues_url":"https://api.github.com/repos/Eagly-messenger/Eagly-main/issues{/number}","pulls_url":"https://api.github.com/repos/Eagly-messenger/Eagly-main/pulls{/number}","milestones_url":"https://api.github.com/repos/Eagly-messenger/Eagly-main/milestones{/number}","notifications_url":"https://api.github.com/repos/Eagly-messenger/Eagly-main/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Eagly-messenger/Eagly-main/labels{/name}","releases_url":"https://api.github.com/repos/Eagly-messenger/Eagly-main/releases{/id}","created_at":"2015-07-06T14:51:26Z","updated_at":"2015-07-06T15:32:06Z","pushed_at":"2015-07-19T13:16:55Z","git_url":"git://github.com/Eagly-messenger/Eagly-main.git","ssh_url":"git@github.com:Eagly-messenger/Eagly-main.git","clone_url":"https://github.com/Eagly-messenger/Eagly-main.git","svn_url":"https://github.com/Eagly-messenger/Eagly-main","homepage":null,"size":29649,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":3,"forks":1,"open_issues":3,"watchers":0,"default_branch":"Eagly-Model_master"}},"base":{"label":"Eagly-messenger:PluginVK","ref":"PluginVK","sha":"703f257246afd8454df3de7d2177678ab8bee64d","user":{"login":"Eagly-messenger","id":13202800,"avatar_url":"https://avatars.githubusercontent.com/u/13202800?v=3","gravatar_id":"","url":"https://api.github.com/users/Eagly-messenger","html_url":"https://github.com/Eagly-messenger","followers_url":"https://api.github.com/users/Eagly-messenger/followers","following_url":"https://api.github.com/users/Eagly-messenger/following{/other_user}","gists_url":"https://api.github.com/users/Eagly-messenger/gists{/gist_id}","starred_url":"https://api.github.com/users/Eagly-messenger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Eagly-messenger/subscriptions","organizations_url":"https://api.github.com/users/Eagly-messenger/orgs","repos_url":"https://api.github.com/users/Eagly-messenger/repos","events_url":"https://api.github.com/users/Eagly-messenger/events{/privacy}","received_events_url":"https://api.github.com/users/Eagly-messenger/received_events","type":"Organization","site_admin":false},"repo":{"id":38625598,"name":"Eagly-main","full_name":"Eagly-messenger/Eagly-main","owner":{"login":"Eagly-messenger","id":13202800,"avatar_url":"https://avatars.githubusercontent.com/u/13202800?v=3","gravatar_id":"","url":"https://api.github.com/users/Eagly-messenger","html_url":"https://github.com/Eagly-messenger","followers_url":"https://api.github.com/users/Eagly-messenger/followers","following_url":"https://api.github.com/users/Eagly-messenger/following{/other_user}","gists_url":"https://api.github.com/users/Eagly-messenger/gists{/gist_id}","starred_url":"https://api.github.com/users/Eagly-messenger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Eagly-messenger/subscriptions","organizations_url":"https://api.github.com/users/Eagly-messenger/orgs","repos_url":"https://api.github.com/users/Eagly-messenger/repos","events_url":"https://api.github.com/users/Eagly-messenger/events{/privacy}","received_events_url":"https://api.github.com/users/Eagly-messenger/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Eagly-messenger/Eagly-main","description":"","fork":false,"url":"https://api.github.com/repos/Eagly-messenger/Eagly-main","forks_url":"https://api.github.com/repos/Eagly-messenger/Eagly-main/forks","keys_url":"https://api.github.com/repos/Eagly-messenger/Eagly-main/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Eagly-messenger/Eagly-main/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Eagly-messenger/Eagly-main/teams","hooks_url":"https://api.github.com/repos/Eagly-messenger/Eagly-main/hooks","issue_events_url":"https://api.github.com/repos/Eagly-messenger/Eagly-main/issues/events{/number}","events_url":"https://api.github.com/repos/Eagly-messenger/Eagly-main/events","assignees_url":"https://api.github.com/repos/Eagly-messenger/Eagly-main/assignees{/user}","branches_url":"https://api.github.com/repos/Eagly-messenger/Eagly-main/branches{/branch}","tags_url":"https://api.github.com/repos/Eagly-messenger/Eagly-main/tags","blobs_url":"https://api.github.com/repos/Eagly-messenger/Eagly-main/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Eagly-messenger/Eagly-main/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Eagly-messenger/Eagly-main/git/refs{/sha}","trees_url":"https://api.github.com/repos/Eagly-messenger/Eagly-main/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Eagly-messenger/Eagly-main/statuses/{sha}","languages_url":"https://api.github.com/repos/Eagly-messenger/Eagly-main/languages","stargazers_url":"https://api.github.com/repos/Eagly-messenger/Eagly-main/stargazers","contributors_url":"https://api.github.com/repos/Eagly-messenger/Eagly-main/contributors","subscribers_url":"https://api.github.com/repos/Eagly-messenger/Eagly-main/subscribers","subscription_url":"https://api.github.com/repos/Eagly-messenger/Eagly-main/subscription","commits_url":"https://api.github.com/repos/Eagly-messenger/Eagly-main/commits{/sha}","git_commits_url":"https://api.github.com/repos/Eagly-messenger/Eagly-main/git/commits{/sha}","comments_url":"https://api.github.com/repos/Eagly-messenger/Eagly-main/comments{/number}","issue_comment_url":"https://api.github.com/repos/Eagly-messenger/Eagly-main/issues/comments{/number}","contents_url":"https://api.github.com/repos/Eagly-messenger/Eagly-main/contents/{+path}","compare_url":"https://api.github.com/repos/Eagly-messenger/Eagly-main/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Eagly-messenger/Eagly-main/merges","archive_url":"https://api.github.com/repos/Eagly-messenger/Eagly-main/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Eagly-messenger/Eagly-main/downloads","issues_url":"https://api.github.com/repos/Eagly-messenger/Eagly-main/issues{/number}","pulls_url":"https://api.github.com/repos/Eagly-messenger/Eagly-main/pulls{/number}","milestones_url":"https://api.github.com/repos/Eagly-messenger/Eagly-main/milestones{/number}","notifications_url":"https://api.github.com/repos/Eagly-messenger/Eagly-main/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Eagly-messenger/Eagly-main/labels{/name}","releases_url":"https://api.github.com/repos/Eagly-messenger/Eagly-main/releases{/id}","created_at":"2015-07-06T14:51:26Z","updated_at":"2015-07-06T15:32:06Z","pushed_at":"2015-07-19T13:16:55Z","git_url":"git://github.com/Eagly-messenger/Eagly-main.git","ssh_url":"git@github.com:Eagly-messenger/Eagly-main.git","clone_url":"https://github.com/Eagly-messenger/Eagly-main.git","svn_url":"https://github.com/Eagly-messenger/Eagly-main","homepage":null,"size":29649,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":3,"forks":1,"open_issues":3,"watchers":0,"default_branch":"Eagly-Model_master"}},"_links":{"self":{"href":"https://api.github.com/repos/Eagly-messenger/Eagly-main/pulls/8"},"html":{"href":"https://github.com/Eagly-messenger/Eagly-main/pull/8"},"issue":{"href":"https://api.github.com/repos/Eagly-messenger/Eagly-main/issues/8"},"comments":{"href":"https://api.github.com/repos/Eagly-messenger/Eagly-main/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/Eagly-messenger/Eagly-main/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/Eagly-messenger/Eagly-main/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Eagly-messenger/Eagly-main/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/Eagly-messenger/Eagly-main/statuses/20415b2514b4f08be47d3650fa195cad7e472bc0"}}}}