{"action":"created","comment":{"url":"https://api.github.com/repos/astroidmail/astroid/pulls/comments/232499800","pull_request_review_id":173709780,"id":232499800,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzMjQ5OTgwMA==","diff_hunk":"@@ -554,17 +554,20 @@ namespace Astroid {\n   void ThreadView::register_keys () { // {{{\n     keys.title = \"Thread View\";\n \n-# ifdef DEBUG_WEBKIT\n     keys.register_key (\"C-r\", \"thread_view.reload\",","path":"src/modes/thread_view/thread_view.cc","position":null,"original_position":5,"commit_id":"0f852613e621a39384f8ef7aab4463beefac3288","original_commit_id":"4d5db04ba675b04b0d576034f147a081dae40329","user":{"login":"gauteh","id":56827,"node_id":"MDQ6VXNlcjU2ODI3","avatar_url":"https://avatars2.githubusercontent.com/u/56827?v=4","gravatar_id":"","url":"https://api.github.com/users/gauteh","html_url":"https://github.com/gauteh","followers_url":"https://api.github.com/users/gauteh/followers","following_url":"https://api.github.com/users/gauteh/following{/other_user}","gists_url":"https://api.github.com/users/gauteh/gists{/gist_id}","starred_url":"https://api.github.com/users/gauteh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gauteh/subscriptions","organizations_url":"https://api.github.com/users/gauteh/orgs","repos_url":"https://api.github.com/users/gauteh/repos","events_url":"https://api.github.com/users/gauteh/events{/privacy}","received_events_url":"https://api.github.com/users/gauteh/received_events","type":"User","site_admin":false},"body":"Yes, take a look at how a message is updated if the tags are changed. It is triggered at each message from the MessageThread. In the code that loops over the messages and emits the `MESSAGE_TAGS_CHANGED` event you can also check for added and removed messages and update the DOM tree through either `add_message` or `remove_message` in `PageClient`. `add_message`, however, would not insert the message at the correct spot which probably means that you need to figure out a way to do this. Additionally, the state and messagethread vectors must match both in `ThreadView` and in the web extension.","created_at":"2018-11-11T18:53:42Z","updated_at":"2018-11-11T18:53:42Z","html_url":"https://github.com/astroidmail/astroid/pull/595#discussion_r232499800","pull_request_url":"https://api.github.com/repos/astroidmail/astroid/pulls/595","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/astroidmail/astroid/pulls/comments/232499800"},"html":{"href":"https://github.com/astroidmail/astroid/pull/595#discussion_r232499800"},"pull_request":{"href":"https://api.github.com/repos/astroidmail/astroid/pulls/595"}},"in_reply_to_id":232447335},"pull_request":{"url":"https://api.github.com/repos/astroidmail/astroid/pulls/595","id":229572630,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI5NTcyNjMw","html_url":"https://github.com/astroidmail/astroid/pull/595","diff_url":"https://github.com/astroidmail/astroid/pull/595.diff","patch_url":"https://github.com/astroidmail/astroid/pull/595.patch","issue_url":"https://api.github.com/repos/astroidmail/astroid/issues/595","number":595,"state":"open","locked":false,"title":"Refresh threadview","user":{"login":"larskotthoff","id":579233,"node_id":"MDQ6VXNlcjU3OTIzMw==","avatar_url":"https://avatars2.githubusercontent.com/u/579233?v=4","gravatar_id":"","url":"https://api.github.com/users/larskotthoff","html_url":"https://github.com/larskotthoff","followers_url":"https://api.github.com/users/larskotthoff/followers","following_url":"https://api.github.com/users/larskotthoff/following{/other_user}","gists_url":"https://api.github.com/users/larskotthoff/gists{/gist_id}","starred_url":"https://api.github.com/users/larskotthoff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/larskotthoff/subscriptions","organizations_url":"https://api.github.com/users/larskotthoff/orgs","repos_url":"https://api.github.com/users/larskotthoff/repos","events_url":"https://api.github.com/users/larskotthoff/events{/privacy}","received_events_url":"https://api.github.com/users/larskotthoff/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-11-09T02:48:27Z","updated_at":"2018-11-11T18:53:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"189e520e4b80c29b05a6d45bc4a83e8caa848a41","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/astroidmail/astroid/pulls/595/commits","review_comments_url":"https://api.github.com/repos/astroidmail/astroid/pulls/595/comments","review_comment_url":"https://api.github.com/repos/astroidmail/astroid/pulls/comments{/number}","comments_url":"https://api.github.com/repos/astroidmail/astroid/issues/595/comments","statuses_url":"https://api.github.com/repos/astroidmail/astroid/statuses/0f852613e621a39384f8ef7aab4463beefac3288","head":{"label":"larskotthoff:refresh-threadview","ref":"refresh-threadview","sha":"0f852613e621a39384f8ef7aab4463beefac3288","user":{"login":"larskotthoff","id":579233,"node_id":"MDQ6VXNlcjU3OTIzMw==","avatar_url":"https://avatars2.githubusercontent.com/u/579233?v=4","gravatar_id":"","url":"https://api.github.com/users/larskotthoff","html_url":"https://github.com/larskotthoff","followers_url":"https://api.github.com/users/larskotthoff/followers","following_url":"https://api.github.com/users/larskotthoff/following{/other_user}","gists_url":"https://api.github.com/users/larskotthoff/gists{/gist_id}","starred_url":"https://api.github.com/users/larskotthoff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/larskotthoff/subscriptions","organizations_url":"https://api.github.com/users/larskotthoff/orgs","repos_url":"https://api.github.com/users/larskotthoff/repos","events_url":"https://api.github.com/users/larskotthoff/events{/privacy}","received_events_url":"https://api.github.com/users/larskotthoff/received_events","type":"User","site_admin":false},"repo":{"id":152915209,"node_id":"MDEwOlJlcG9zaXRvcnkxNTI5MTUyMDk=","name":"astroid","full_name":"larskotthoff/astroid","private":false,"owner":{"login":"larskotthoff","id":579233,"node_id":"MDQ6VXNlcjU3OTIzMw==","avatar_url":"https://avatars2.githubusercontent.com/u/579233?v=4","gravatar_id":"","url":"https://api.github.com/users/larskotthoff","html_url":"https://github.com/larskotthoff","followers_url":"https://api.github.com/users/larskotthoff/followers","following_url":"https://api.github.com/users/larskotthoff/following{/other_user}","gists_url":"https://api.github.com/users/larskotthoff/gists{/gist_id}","starred_url":"https://api.github.com/users/larskotthoff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/larskotthoff/subscriptions","organizations_url":"https://api.github.com/users/larskotthoff/orgs","repos_url":"https://api.github.com/users/larskotthoff/repos","events_url":"https://api.github.com/users/larskotthoff/events{/privacy}","received_events_url":"https://api.github.com/users/larskotthoff/received_events","type":"User","site_admin":false},"html_url":"https://github.com/larskotthoff/astroid","description":"A graphical threads-with-tags style, lightweight and fast, e-mail client for Notmuch","fork":true,"url":"https://api.github.com/repos/larskotthoff/astroid","forks_url":"https://api.github.com/repos/larskotthoff/astroid/forks","keys_url":"https://api.github.com/repos/larskotthoff/astroid/keys{/key_id}","collaborators_url":"https://api.github.com/repos/larskotthoff/astroid/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/larskotthoff/astroid/teams","hooks_url":"https://api.github.com/repos/larskotthoff/astroid/hooks","issue_events_url":"https://api.github.com/repos/larskotthoff/astroid/issues/events{/number}","events_url":"https://api.github.com/repos/larskotthoff/astroid/events","assignees_url":"https://api.github.com/repos/larskotthoff/astroid/assignees{/user}","branches_url":"https://api.github.com/repos/larskotthoff/astroid/branches{/branch}","tags_url":"https://api.github.com/repos/larskotthoff/astroid/tags","blobs_url":"https://api.github.com/repos/larskotthoff/astroid/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/larskotthoff/astroid/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/larskotthoff/astroid/git/refs{/sha}","trees_url":"https://api.github.com/repos/larskotthoff/astroid/git/trees{/sha}","statuses_url":"https://api.github.com/repos/larskotthoff/astroid/statuses/{sha}","languages_url":"https://api.github.com/repos/larskotthoff/astroid/languages","stargazers_url":"https://api.github.com/repos/larskotthoff/astroid/stargazers","contributors_url":"https://api.github.com/repos/larskotthoff/astroid/contributors","subscribers_url":"https://api.github.com/repos/larskotthoff/astroid/subscribers","subscription_url":"https://api.github.com/repos/larskotthoff/astroid/subscription","commits_url":"https://api.github.com/repos/larskotthoff/astroid/commits{/sha}","git_commits_url":"https://api.github.com/repos/larskotthoff/astroid/git/commits{/sha}","comments_url":"https://api.github.com/repos/larskotthoff/astroid/comments{/number}","issue_comment_url":"https://api.github.com/repos/larskotthoff/astroid/issues/comments{/number}","contents_url":"https://api.github.com/repos/larskotthoff/astroid/contents/{+path}","compare_url":"https://api.github.com/repos/larskotthoff/astroid/compare/{base}...{head}","merges_url":"https://api.github.com/repos/larskotthoff/astroid/merges","archive_url":"https://api.github.com/repos/larskotthoff/astroid/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/larskotthoff/astroid/downloads","issues_url":"https://api.github.com/repos/larskotthoff/astroid/issues{/number}","pulls_url":"https://api.github.com/repos/larskotthoff/astroid/pulls{/number}","milestones_url":"https://api.github.com/repos/larskotthoff/astroid/milestones{/number}","notifications_url":"https://api.github.com/repos/larskotthoff/astroid/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/larskotthoff/astroid/labels{/name}","releases_url":"https://api.github.com/repos/larskotthoff/astroid/releases{/id}","deployments_url":"https://api.github.com/repos/larskotthoff/astroid/deployments","created_at":"2018-10-13T21:17:29Z","updated_at":"2018-11-10T20:09:37Z","pushed_at":"2018-11-10T20:31:55Z","git_url":"git://github.com/larskotthoff/astroid.git","ssh_url":"git@github.com:larskotthoff/astroid.git","clone_url":"https://github.com/larskotthoff/astroid.git","svn_url":"https://github.com/larskotthoff/astroid","homepage":"http://astroidmail.github.io","size":14862,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"astroidmail:master","ref":"master","sha":"439856e3f9c78c198959157ad8fcb1540d456969","user":{"login":"astroidmail","id":19655966,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE5NjU1OTY2","avatar_url":"https://avatars0.githubusercontent.com/u/19655966?v=4","gravatar_id":"","url":"https://api.github.com/users/astroidmail","html_url":"https://github.com/astroidmail","followers_url":"https://api.github.com/users/astroidmail/followers","following_url":"https://api.github.com/users/astroidmail/following{/other_user}","gists_url":"https://api.github.com/users/astroidmail/gists{/gist_id}","starred_url":"https://api.github.com/users/astroidmail/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/astroidmail/subscriptions","organizations_url":"https://api.github.com/users/astroidmail/orgs","repos_url":"https://api.github.com/users/astroidmail/repos","events_url":"https://api.github.com/users/astroidmail/events{/privacy}","received_events_url":"https://api.github.com/users/astroidmail/received_events","type":"Organization","site_admin":false},"repo":{"id":17337103,"node_id":"MDEwOlJlcG9zaXRvcnkxNzMzNzEwMw==","name":"astroid","full_name":"astroidmail/astroid","private":false,"owner":{"login":"astroidmail","id":19655966,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE5NjU1OTY2","avatar_url":"https://avatars0.githubusercontent.com/u/19655966?v=4","gravatar_id":"","url":"https://api.github.com/users/astroidmail","html_url":"https://github.com/astroidmail","followers_url":"https://api.github.com/users/astroidmail/followers","following_url":"https://api.github.com/users/astroidmail/following{/other_user}","gists_url":"https://api.github.com/users/astroidmail/gists{/gist_id}","starred_url":"https://api.github.com/users/astroidmail/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/astroidmail/subscriptions","organizations_url":"https://api.github.com/users/astroidmail/orgs","repos_url":"https://api.github.com/users/astroidmail/repos","events_url":"https://api.github.com/users/astroidmail/events{/privacy}","received_events_url":"https://api.github.com/users/astroidmail/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/astroidmail/astroid","description":"A graphical threads-with-tags style, lightweight and fast, e-mail client for Notmuch","fork":false,"url":"https://api.github.com/repos/astroidmail/astroid","forks_url":"https://api.github.com/repos/astroidmail/astroid/forks","keys_url":"https://api.github.com/repos/astroidmail/astroid/keys{/key_id}","collaborators_url":"https://api.github.com/repos/astroidmail/astroid/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/astroidmail/astroid/teams","hooks_url":"https://api.github.com/repos/astroidmail/astroid/hooks","issue_events_url":"https://api.github.com/repos/astroidmail/astroid/issues/events{/number}","events_url":"https://api.github.com/repos/astroidmail/astroid/events","assignees_url":"https://api.github.com/repos/astroidmail/astroid/assignees{/user}","branches_url":"https://api.github.com/repos/astroidmail/astroid/branches{/branch}","tags_url":"https://api.github.com/repos/astroidmail/astroid/tags","blobs_url":"https://api.github.com/repos/astroidmail/astroid/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/astroidmail/astroid/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/astroidmail/astroid/git/refs{/sha}","trees_url":"https://api.github.com/repos/astroidmail/astroid/git/trees{/sha}","statuses_url":"https://api.github.com/repos/astroidmail/astroid/statuses/{sha}","languages_url":"https://api.github.com/repos/astroidmail/astroid/languages","stargazers_url":"https://api.github.com/repos/astroidmail/astroid/stargazers","contributors_url":"https://api.github.com/repos/astroidmail/astroid/contributors","subscribers_url":"https://api.github.com/repos/astroidmail/astroid/subscribers","subscription_url":"https://api.github.com/repos/astroidmail/astroid/subscription","commits_url":"https://api.github.com/repos/astroidmail/astroid/commits{/sha}","git_commits_url":"https://api.github.com/repos/astroidmail/astroid/git/commits{/sha}","comments_url":"https://api.github.com/repos/astroidmail/astroid/comments{/number}","issue_comment_url":"https://api.github.com/repos/astroidmail/astroid/issues/comments{/number}","contents_url":"https://api.github.com/repos/astroidmail/astroid/contents/{+path}","compare_url":"https://api.github.com/repos/astroidmail/astroid/compare/{base}...{head}","merges_url":"https://api.github.com/repos/astroidmail/astroid/merges","archive_url":"https://api.github.com/repos/astroidmail/astroid/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/astroidmail/astroid/downloads","issues_url":"https://api.github.com/repos/astroidmail/astroid/issues{/number}","pulls_url":"https://api.github.com/repos/astroidmail/astroid/pulls{/number}","milestones_url":"https://api.github.com/repos/astroidmail/astroid/milestones{/number}","notifications_url":"https://api.github.com/repos/astroidmail/astroid/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/astroidmail/astroid/labels{/name}","releases_url":"https://api.github.com/repos/astroidmail/astroid/releases{/id}","deployments_url":"https://api.github.com/repos/astroidmail/astroid/deployments","created_at":"2014-03-02T12:19:14Z","updated_at":"2018-11-06T20:21:59Z","pushed_at":"2018-11-10T20:31:56Z","git_url":"git://github.com/astroidmail/astroid.git","ssh_url":"git@github.com:astroidmail/astroid.git","clone_url":"https://github.com/astroidmail/astroid.git","svn_url":"https://github.com/astroidmail/astroid","homepage":"http://astroidmail.github.io","size":14844,"stargazers_count":299,"watchers_count":299,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":47,"mirror_url":null,"archived":false,"open_issues_count":93,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":47,"open_issues":93,"watchers":299,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/astroidmail/astroid/pulls/595"},"html":{"href":"https://github.com/astroidmail/astroid/pull/595"},"issue":{"href":"https://api.github.com/repos/astroidmail/astroid/issues/595"},"comments":{"href":"https://api.github.com/repos/astroidmail/astroid/issues/595/comments"},"review_comments":{"href":"https://api.github.com/repos/astroidmail/astroid/pulls/595/comments"},"review_comment":{"href":"https://api.github.com/repos/astroidmail/astroid/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/astroidmail/astroid/pulls/595/commits"},"statuses":{"href":"https://api.github.com/repos/astroidmail/astroid/statuses/0f852613e621a39384f8ef7aab4463beefac3288"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"gauteh"}}