{"action":"created","comment":{"url":"https://api.github.com/repos/mattermost/mattermost-server/pulls/comments/172130470","pull_request_review_id":101094450,"id":172130470,"diff_hunk":"@@ -1092,7 +1092,9 @@ func (a *App) PostAddToChannelMessage(user *model.User, addedUser *model.User, c\n \t\tUserId:    user.Id,\n \t\tRootId:    postRootId,\n \t\tProps: model.StringInterface{\n+\t\t\t\"userId\":        user.Id,","path":"app/channel.go","position":4,"original_position":4,"commit_id":"eea4add0d431eb9510901e7ec612c46914b1f775","original_commit_id":"eea4add0d431eb9510901e7ec612c46914b1f775","user":{"login":"jespino","id":290303,"avatar_url":"https://avatars0.githubusercontent.com/u/290303?v=4","gravatar_id":"","url":"https://api.github.com/users/jespino","html_url":"https://github.com/jespino","followers_url":"https://api.github.com/users/jespino/followers","following_url":"https://api.github.com/users/jespino/following{/other_user}","gists_url":"https://api.github.com/users/jespino/gists{/gist_id}","starred_url":"https://api.github.com/users/jespino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jespino/subscriptions","organizations_url":"https://api.github.com/users/jespino/orgs","repos_url":"https://api.github.com/users/jespino/repos","events_url":"https://api.github.com/users/jespino/events{/privacy}","received_events_url":"https://api.github.com/users/jespino/received_events","type":"User","site_admin":false},"body":"Is this userId needed? why not use the Post.UserId?","created_at":"2018-03-05T09:37:04Z","updated_at":"2018-03-05T09:38:15Z","html_url":"https://github.com/mattermost/mattermost-server/pull/8400#discussion_r172130470","pull_request_url":"https://api.github.com/repos/mattermost/mattermost-server/pulls/8400","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/mattermost/mattermost-server/pulls/comments/172130470"},"html":{"href":"https://github.com/mattermost/mattermost-server/pull/8400#discussion_r172130470"},"pull_request":{"href":"https://api.github.com/repos/mattermost/mattermost-server/pulls/8400"}}},"pull_request":{"url":"https://api.github.com/repos/mattermost/mattermost-server/pulls/8400","id":172669112,"html_url":"https://github.com/mattermost/mattermost-server/pull/8400","diff_url":"https://github.com/mattermost/mattermost-server/pull/8400.diff","patch_url":"https://github.com/mattermost/mattermost-server/pull/8400.patch","issue_url":"https://api.github.com/repos/mattermost/mattermost-server/issues/8400","number":8400,"state":"open","locked":false,"title":"[PLT-7776] Render at-mentions by the teammate name display","user":{"login":"philippe-granet","id":5667657,"avatar_url":"https://avatars0.githubusercontent.com/u/5667657?v=4","gravatar_id":"","url":"https://api.github.com/users/philippe-granet","html_url":"https://github.com/philippe-granet","followers_url":"https://api.github.com/users/philippe-granet/followers","following_url":"https://api.github.com/users/philippe-granet/following{/other_user}","gists_url":"https://api.github.com/users/philippe-granet/gists{/gist_id}","starred_url":"https://api.github.com/users/philippe-granet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philippe-granet/subscriptions","organizations_url":"https://api.github.com/users/philippe-granet/orgs","repos_url":"https://api.github.com/users/philippe-granet/repos","events_url":"https://api.github.com/users/philippe-granet/events{/privacy}","received_events_url":"https://api.github.com/users/philippe-granet/received_events","type":"User","site_admin":false},"body":"See mattermost-webapp PR for more informations:\r\nhttps://github.com/mattermost/mattermost-webapp/pull/353\r\n\r\n#### Ticket Link\r\nmattermost/mattermost-server#7562\r\nhttps://mattermost.atlassian.net/browse/PLT-7776","created_at":"2018-03-03T14:19:13Z","updated_at":"2018-03-05T09:38:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b498d191f8896eec2bc478c387f870584fdebced","assignee":null,"assignees":[],"requested_reviewers":[{"login":"grundleborg","id":1198059,"avatar_url":"https://avatars1.githubusercontent.com/u/1198059?v=4","gravatar_id":"","url":"https://api.github.com/users/grundleborg","html_url":"https://github.com/grundleborg","followers_url":"https://api.github.com/users/grundleborg/followers","following_url":"https://api.github.com/users/grundleborg/following{/other_user}","gists_url":"https://api.github.com/users/grundleborg/gists{/gist_id}","starred_url":"https://api.github.com/users/grundleborg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grundleborg/subscriptions","organizations_url":"https://api.github.com/users/grundleborg/orgs","repos_url":"https://api.github.com/users/grundleborg/repos","events_url":"https://api.github.com/users/grundleborg/events{/privacy}","received_events_url":"https://api.github.com/users/grundleborg/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":250214574,"url":"https://api.github.com/repos/mattermost/mattermost-server/labels/2:%20Dev%20Review","name":"2: Dev Review","color":"eb6420","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/mattermost/mattermost-server/pulls/8400/commits","review_comments_url":"https://api.github.com/repos/mattermost/mattermost-server/pulls/8400/comments","review_comment_url":"https://api.github.com/repos/mattermost/mattermost-server/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mattermost/mattermost-server/issues/8400/comments","statuses_url":"https://api.github.com/repos/mattermost/mattermost-server/statuses/eea4add0d431eb9510901e7ec612c46914b1f775","head":{"label":"philippe-granet:PLT-7776","ref":"PLT-7776","sha":"eea4add0d431eb9510901e7ec612c46914b1f775","user":{"login":"philippe-granet","id":5667657,"avatar_url":"https://avatars0.githubusercontent.com/u/5667657?v=4","gravatar_id":"","url":"https://api.github.com/users/philippe-granet","html_url":"https://github.com/philippe-granet","followers_url":"https://api.github.com/users/philippe-granet/followers","following_url":"https://api.github.com/users/philippe-granet/following{/other_user}","gists_url":"https://api.github.com/users/philippe-granet/gists{/gist_id}","starred_url":"https://api.github.com/users/philippe-granet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philippe-granet/subscriptions","organizations_url":"https://api.github.com/users/philippe-granet/orgs","repos_url":"https://api.github.com/users/philippe-granet/repos","events_url":"https://api.github.com/users/philippe-granet/events{/privacy}","received_events_url":"https://api.github.com/users/philippe-granet/received_events","type":"User","site_admin":false},"repo":{"id":111601823,"name":"mattermost-server","full_name":"philippe-granet/mattermost-server","owner":{"login":"philippe-granet","id":5667657,"avatar_url":"https://avatars0.githubusercontent.com/u/5667657?v=4","gravatar_id":"","url":"https://api.github.com/users/philippe-granet","html_url":"https://github.com/philippe-granet","followers_url":"https://api.github.com/users/philippe-granet/followers","following_url":"https://api.github.com/users/philippe-granet/following{/other_user}","gists_url":"https://api.github.com/users/philippe-granet/gists{/gist_id}","starred_url":"https://api.github.com/users/philippe-granet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philippe-granet/subscriptions","organizations_url":"https://api.github.com/users/philippe-granet/orgs","repos_url":"https://api.github.com/users/philippe-granet/repos","events_url":"https://api.github.com/users/philippe-granet/events{/privacy}","received_events_url":"https://api.github.com/users/philippe-granet/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/philippe-granet/mattermost-server","description":"Open source Slack-alternative in Golang and React - Mattermost","fork":true,"url":"https://api.github.com/repos/philippe-granet/mattermost-server","forks_url":"https://api.github.com/repos/philippe-granet/mattermost-server/forks","keys_url":"https://api.github.com/repos/philippe-granet/mattermost-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/philippe-granet/mattermost-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/philippe-granet/mattermost-server/teams","hooks_url":"https://api.github.com/repos/philippe-granet/mattermost-server/hooks","issue_events_url":"https://api.github.com/repos/philippe-granet/mattermost-server/issues/events{/number}","events_url":"https://api.github.com/repos/philippe-granet/mattermost-server/events","assignees_url":"https://api.github.com/repos/philippe-granet/mattermost-server/assignees{/user}","branches_url":"https://api.github.com/repos/philippe-granet/mattermost-server/branches{/branch}","tags_url":"https://api.github.com/repos/philippe-granet/mattermost-server/tags","blobs_url":"https://api.github.com/repos/philippe-granet/mattermost-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/philippe-granet/mattermost-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/philippe-granet/mattermost-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/philippe-granet/mattermost-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/philippe-granet/mattermost-server/statuses/{sha}","languages_url":"https://api.github.com/repos/philippe-granet/mattermost-server/languages","stargazers_url":"https://api.github.com/repos/philippe-granet/mattermost-server/stargazers","contributors_url":"https://api.github.com/repos/philippe-granet/mattermost-server/contributors","subscribers_url":"https://api.github.com/repos/philippe-granet/mattermost-server/subscribers","subscription_url":"https://api.github.com/repos/philippe-granet/mattermost-server/subscription","commits_url":"https://api.github.com/repos/philippe-granet/mattermost-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/philippe-granet/mattermost-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/philippe-granet/mattermost-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/philippe-granet/mattermost-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/philippe-granet/mattermost-server/contents/{+path}","compare_url":"https://api.github.com/repos/philippe-granet/mattermost-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/philippe-granet/mattermost-server/merges","archive_url":"https://api.github.com/repos/philippe-granet/mattermost-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/philippe-granet/mattermost-server/downloads","issues_url":"https://api.github.com/repos/philippe-granet/mattermost-server/issues{/number}","pulls_url":"https://api.github.com/repos/philippe-granet/mattermost-server/pulls{/number}","milestones_url":"https://api.github.com/repos/philippe-granet/mattermost-server/milestones{/number}","notifications_url":"https://api.github.com/repos/philippe-granet/mattermost-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/philippe-granet/mattermost-server/labels{/name}","releases_url":"https://api.github.com/repos/philippe-granet/mattermost-server/releases{/id}","deployments_url":"https://api.github.com/repos/philippe-granet/mattermost-server/deployments","created_at":"2017-11-21T21:11:33Z","updated_at":"2017-11-21T21:11:37Z","pushed_at":"2018-03-03T14:16:33Z","git_url":"git://github.com/philippe-granet/mattermost-server.git","ssh_url":"git@github.com:philippe-granet/mattermost-server.git","clone_url":"https://github.com/philippe-granet/mattermost-server.git","svn_url":"https://github.com/philippe-granet/mattermost-server","homepage":"https://mattermost.com","size":269122,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"mattermost:master","ref":"master","sha":"4ebf9746905c845ee3874f87478d7450391680d8","user":{"login":"mattermost","id":9828093,"avatar_url":"https://avatars1.githubusercontent.com/u/9828093?v=4","gravatar_id":"","url":"https://api.github.com/users/mattermost","html_url":"https://github.com/mattermost","followers_url":"https://api.github.com/users/mattermost/followers","following_url":"https://api.github.com/users/mattermost/following{/other_user}","gists_url":"https://api.github.com/users/mattermost/gists{/gist_id}","starred_url":"https://api.github.com/users/mattermost/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattermost/subscriptions","organizations_url":"https://api.github.com/users/mattermost/orgs","repos_url":"https://api.github.com/users/mattermost/repos","events_url":"https://api.github.com/users/mattermost/events{/privacy}","received_events_url":"https://api.github.com/users/mattermost/received_events","type":"Organization","site_admin":false},"repo":{"id":37448451,"name":"mattermost-server","full_name":"mattermost/mattermost-server","owner":{"login":"mattermost","id":9828093,"avatar_url":"https://avatars1.githubusercontent.com/u/9828093?v=4","gravatar_id":"","url":"https://api.github.com/users/mattermost","html_url":"https://github.com/mattermost","followers_url":"https://api.github.com/users/mattermost/followers","following_url":"https://api.github.com/users/mattermost/following{/other_user}","gists_url":"https://api.github.com/users/mattermost/gists{/gist_id}","starred_url":"https://api.github.com/users/mattermost/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattermost/subscriptions","organizations_url":"https://api.github.com/users/mattermost/orgs","repos_url":"https://api.github.com/users/mattermost/repos","events_url":"https://api.github.com/users/mattermost/events{/privacy}","received_events_url":"https://api.github.com/users/mattermost/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mattermost/mattermost-server","description":"Open source Slack-alternative in Golang and React - Mattermost","fork":false,"url":"https://api.github.com/repos/mattermost/mattermost-server","forks_url":"https://api.github.com/repos/mattermost/mattermost-server/forks","keys_url":"https://api.github.com/repos/mattermost/mattermost-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mattermost/mattermost-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mattermost/mattermost-server/teams","hooks_url":"https://api.github.com/repos/mattermost/mattermost-server/hooks","issue_events_url":"https://api.github.com/repos/mattermost/mattermost-server/issues/events{/number}","events_url":"https://api.github.com/repos/mattermost/mattermost-server/events","assignees_url":"https://api.github.com/repos/mattermost/mattermost-server/assignees{/user}","branches_url":"https://api.github.com/repos/mattermost/mattermost-server/branches{/branch}","tags_url":"https://api.github.com/repos/mattermost/mattermost-server/tags","blobs_url":"https://api.github.com/repos/mattermost/mattermost-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mattermost/mattermost-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mattermost/mattermost-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/mattermost/mattermost-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mattermost/mattermost-server/statuses/{sha}","languages_url":"https://api.github.com/repos/mattermost/mattermost-server/languages","stargazers_url":"https://api.github.com/repos/mattermost/mattermost-server/stargazers","contributors_url":"https://api.github.com/repos/mattermost/mattermost-server/contributors","subscribers_url":"https://api.github.com/repos/mattermost/mattermost-server/subscribers","subscription_url":"https://api.github.com/repos/mattermost/mattermost-server/subscription","commits_url":"https://api.github.com/repos/mattermost/mattermost-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/mattermost/mattermost-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/mattermost/mattermost-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/mattermost/mattermost-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/mattermost/mattermost-server/contents/{+path}","compare_url":"https://api.github.com/repos/mattermost/mattermost-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mattermost/mattermost-server/merges","archive_url":"https://api.github.com/repos/mattermost/mattermost-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mattermost/mattermost-server/downloads","issues_url":"https://api.github.com/repos/mattermost/mattermost-server/issues{/number}","pulls_url":"https://api.github.com/repos/mattermost/mattermost-server/pulls{/number}","milestones_url":"https://api.github.com/repos/mattermost/mattermost-server/milestones{/number}","notifications_url":"https://api.github.com/repos/mattermost/mattermost-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mattermost/mattermost-server/labels{/name}","releases_url":"https://api.github.com/repos/mattermost/mattermost-server/releases{/id}","deployments_url":"https://api.github.com/repos/mattermost/mattermost-server/deployments","created_at":"2015-06-15T06:50:02Z","updated_at":"2018-03-04T20:58:50Z","pushed_at":"2018-03-05T09:37:23Z","git_url":"git://github.com/mattermost/mattermost-server.git","ssh_url":"git@github.com:mattermost/mattermost-server.git","clone_url":"https://github.com/mattermost/mattermost-server.git","svn_url":"https://github.com/mattermost/mattermost-server","homepage":"https://mattermost.com","size":269379,"stargazers_count":11928,"watchers_count":11928,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2041,"mirror_url":null,"archived":false,"open_issues_count":135,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":2041,"open_issues":135,"watchers":11928,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mattermost/mattermost-server/pulls/8400"},"html":{"href":"https://github.com/mattermost/mattermost-server/pull/8400"},"issue":{"href":"https://api.github.com/repos/mattermost/mattermost-server/issues/8400"},"comments":{"href":"https://api.github.com/repos/mattermost/mattermost-server/issues/8400/comments"},"review_comments":{"href":"https://api.github.com/repos/mattermost/mattermost-server/pulls/8400/comments"},"review_comment":{"href":"https://api.github.com/repos/mattermost/mattermost-server/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mattermost/mattermost-server/pulls/8400/commits"},"statuses":{"href":"https://api.github.com/repos/mattermost/mattermost-server/statuses/eea4add0d431eb9510901e7ec612c46914b1f775"}},"author_association":"NONE"}}
{"actor":{"display_login":"jespino"}}