{"action":"created","comment":{"url":"https://api.github.com/repos/tokenbrowser/token-ios-client/pulls/comments/119833702","pull_request_review_id":41749807,"id":119833702,"diff_hunk":"@@ -815,3 +769,10 @@ extension ChatController: PaymentRequestControllerDelegate {\n         self.sendMessage(sofaWrapper: paymentRequest)\n     }\n }\n+\n+extension ChatController: MessagesDataSource {\n+\n+    func loadedMessages() -> [MessageModel] {","path":"Token/Controllers/Messaging/ChatController.swift","position":null,"original_position":352,"commit_id":"4fa3a652710ae108ec59442dd0b0e46e4c868c7d","original_commit_id":"c19adbd6492b2d3c7e4010a2f81b37983aed09ba","user":{"login":"Elland","id":54423,"avatar_url":"https://avatars0.githubusercontent.com/u/54423?v=3","gravatar_id":"","url":"https://api.github.com/users/Elland","html_url":"https://github.com/Elland","followers_url":"https://api.github.com/users/Elland/followers","following_url":"https://api.github.com/users/Elland/following{/other_user}","gists_url":"https://api.github.com/users/Elland/gists{/gist_id}","starred_url":"https://api.github.com/users/Elland/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Elland/subscriptions","organizations_url":"https://api.github.com/users/Elland/orgs","repos_url":"https://api.github.com/users/Elland/repos","events_url":"https://api.github.com/users/Elland/events{/privacy}","received_events_url":"https://api.github.com/users/Elland/received_events","type":"User","site_admin":false},"body":"Models is too generic. What is wrong with `messageModels`?","created_at":"2017-06-02T11:16:40Z","updated_at":"2017-06-02T11:16:41Z","html_url":"https://github.com/tokenbrowser/token-ios-client/pull/257#discussion_r119833702","pull_request_url":"https://api.github.com/repos/tokenbrowser/token-ios-client/pulls/257","_links":{"self":{"href":"https://api.github.com/repos/tokenbrowser/token-ios-client/pulls/comments/119833702"},"html":{"href":"https://github.com/tokenbrowser/token-ios-client/pull/257#discussion_r119833702"},"pull_request":{"href":"https://api.github.com/repos/tokenbrowser/token-ios-client/pulls/257"}}},"pull_request":{"url":"https://api.github.com/repos/tokenbrowser/token-ios-client/pulls/257","id":122665934,"html_url":"https://github.com/tokenbrowser/token-ios-client/pull/257","diff_url":"https://github.com/tokenbrowser/token-ios-client/pull/257.diff","patch_url":"https://github.com/tokenbrowser/token-ios-client/pull/257.patch","issue_url":"https://api.github.com/repos/tokenbrowser/token-ios-client/issues/257","number":257,"state":"open","locked":false,"title":"New Messages UI","user":{"login":"roberthein","id":474246,"avatar_url":"https://avatars2.githubusercontent.com/u/474246?v=3","gravatar_id":"","url":"https://api.github.com/users/roberthein","html_url":"https://github.com/roberthein","followers_url":"https://api.github.com/users/roberthein/followers","following_url":"https://api.github.com/users/roberthein/following{/other_user}","gists_url":"https://api.github.com/users/roberthein/gists{/gist_id}","starred_url":"https://api.github.com/users/roberthein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roberthein/subscriptions","organizations_url":"https://api.github.com/users/roberthein/orgs","repos_url":"https://api.github.com/users/roberthein/repos","events_url":"https://api.github.com/users/roberthein/events{/privacy}","received_events_url":"https://api.github.com/users/roberthein/received_events","type":"User","site_admin":false},"body":"Still work in progress.\r\n\r\ntodo:\r\n- finish messages conversion\r\n- implement ChatInputTextPanelDelegate\r\n\r\n![new-messages-ui](https://cloud.githubusercontent.com/assets/474246/26500919/2b0fb6c4-4238-11e7-9b70-ee72cc43dc8a.gif)","created_at":"2017-05-26T15:26:17Z","updated_at":"2017-06-02T11:16:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":"90c1f8025ad31236f5ff611cd44cb4e70a39c11b","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/tokenbrowser/token-ios-client/pulls/257/commits","review_comments_url":"https://api.github.com/repos/tokenbrowser/token-ios-client/pulls/257/comments","review_comment_url":"https://api.github.com/repos/tokenbrowser/token-ios-client/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tokenbrowser/token-ios-client/issues/257/comments","statuses_url":"https://api.github.com/repos/tokenbrowser/token-ios-client/statuses/4fa3a652710ae108ec59442dd0b0e46e4c868c7d","head":{"label":"tokenbrowser:feature/new-messages-ui","ref":"feature/new-messages-ui","sha":"4fa3a652710ae108ec59442dd0b0e46e4c868c7d","user":{"login":"tokenbrowser","id":23038587,"avatar_url":"https://avatars3.githubusercontent.com/u/23038587?v=3","gravatar_id":"","url":"https://api.github.com/users/tokenbrowser","html_url":"https://github.com/tokenbrowser","followers_url":"https://api.github.com/users/tokenbrowser/followers","following_url":"https://api.github.com/users/tokenbrowser/following{/other_user}","gists_url":"https://api.github.com/users/tokenbrowser/gists{/gist_id}","starred_url":"https://api.github.com/users/tokenbrowser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tokenbrowser/subscriptions","organizations_url":"https://api.github.com/users/tokenbrowser/orgs","repos_url":"https://api.github.com/users/tokenbrowser/repos","events_url":"https://api.github.com/users/tokenbrowser/events{/privacy}","received_events_url":"https://api.github.com/users/tokenbrowser/received_events","type":"Organization","site_admin":false},"repo":{"id":78760233,"name":"token-ios-client","full_name":"tokenbrowser/token-ios-client","owner":{"login":"tokenbrowser","id":23038587,"avatar_url":"https://avatars3.githubusercontent.com/u/23038587?v=3","gravatar_id":"","url":"https://api.github.com/users/tokenbrowser","html_url":"https://github.com/tokenbrowser","followers_url":"https://api.github.com/users/tokenbrowser/followers","following_url":"https://api.github.com/users/tokenbrowser/following{/other_user}","gists_url":"https://api.github.com/users/tokenbrowser/gists{/gist_id}","starred_url":"https://api.github.com/users/tokenbrowser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tokenbrowser/subscriptions","organizations_url":"https://api.github.com/users/tokenbrowser/orgs","repos_url":"https://api.github.com/users/tokenbrowser/repos","events_url":"https://api.github.com/users/tokenbrowser/events{/privacy}","received_events_url":"https://api.github.com/users/tokenbrowser/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/tokenbrowser/token-ios-client","description":"iOS client for Token","fork":false,"url":"https://api.github.com/repos/tokenbrowser/token-ios-client","forks_url":"https://api.github.com/repos/tokenbrowser/token-ios-client/forks","keys_url":"https://api.github.com/repos/tokenbrowser/token-ios-client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tokenbrowser/token-ios-client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tokenbrowser/token-ios-client/teams","hooks_url":"https://api.github.com/repos/tokenbrowser/token-ios-client/hooks","issue_events_url":"https://api.github.com/repos/tokenbrowser/token-ios-client/issues/events{/number}","events_url":"https://api.github.com/repos/tokenbrowser/token-ios-client/events","assignees_url":"https://api.github.com/repos/tokenbrowser/token-ios-client/assignees{/user}","branches_url":"https://api.github.com/repos/tokenbrowser/token-ios-client/branches{/branch}","tags_url":"https://api.github.com/repos/tokenbrowser/token-ios-client/tags","blobs_url":"https://api.github.com/repos/tokenbrowser/token-ios-client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tokenbrowser/token-ios-client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tokenbrowser/token-ios-client/git/refs{/sha}","trees_url":"https://api.github.com/repos/tokenbrowser/token-ios-client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tokenbrowser/token-ios-client/statuses/{sha}","languages_url":"https://api.github.com/repos/tokenbrowser/token-ios-client/languages","stargazers_url":"https://api.github.com/repos/tokenbrowser/token-ios-client/stargazers","contributors_url":"https://api.github.com/repos/tokenbrowser/token-ios-client/contributors","subscribers_url":"https://api.github.com/repos/tokenbrowser/token-ios-client/subscribers","subscription_url":"https://api.github.com/repos/tokenbrowser/token-ios-client/subscription","commits_url":"https://api.github.com/repos/tokenbrowser/token-ios-client/commits{/sha}","git_commits_url":"https://api.github.com/repos/tokenbrowser/token-ios-client/git/commits{/sha}","comments_url":"https://api.github.com/repos/tokenbrowser/token-ios-client/comments{/number}","issue_comment_url":"https://api.github.com/repos/tokenbrowser/token-ios-client/issues/comments{/number}","contents_url":"https://api.github.com/repos/tokenbrowser/token-ios-client/contents/{+path}","compare_url":"https://api.github.com/repos/tokenbrowser/token-ios-client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tokenbrowser/token-ios-client/merges","archive_url":"https://api.github.com/repos/tokenbrowser/token-ios-client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tokenbrowser/token-ios-client/downloads","issues_url":"https://api.github.com/repos/tokenbrowser/token-ios-client/issues{/number}","pulls_url":"https://api.github.com/repos/tokenbrowser/token-ios-client/pulls{/number}","milestones_url":"https://api.github.com/repos/tokenbrowser/token-ios-client/milestones{/number}","notifications_url":"https://api.github.com/repos/tokenbrowser/token-ios-client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tokenbrowser/token-ios-client/labels{/name}","releases_url":"https://api.github.com/repos/tokenbrowser/token-ios-client/releases{/id}","deployments_url":"https://api.github.com/repos/tokenbrowser/token-ios-client/deployments","created_at":"2017-01-12T15:41:29Z","updated_at":"2017-05-31T16:02:38Z","pushed_at":"2017-06-02T11:06:35Z","git_url":"git://github.com/tokenbrowser/token-ios-client.git","ssh_url":"git@github.com:tokenbrowser/token-ios-client.git","clone_url":"https://github.com/tokenbrowser/token-ios-client.git","svn_url":"https://github.com/tokenbrowser/token-ios-client","homepage":"","size":295583,"stargazers_count":25,"watchers_count":25,"language":"Swift","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":14,"forks":5,"open_issues":14,"watchers":25,"default_branch":"master"}},"base":{"label":"tokenbrowser:release/1.1.4","ref":"release/1.1.4","sha":"0006e3b2748fe9b373409ad1b8d0041aa9587c36","user":{"login":"tokenbrowser","id":23038587,"avatar_url":"https://avatars3.githubusercontent.com/u/23038587?v=3","gravatar_id":"","url":"https://api.github.com/users/tokenbrowser","html_url":"https://github.com/tokenbrowser","followers_url":"https://api.github.com/users/tokenbrowser/followers","following_url":"https://api.github.com/users/tokenbrowser/following{/other_user}","gists_url":"https://api.github.com/users/tokenbrowser/gists{/gist_id}","starred_url":"https://api.github.com/users/tokenbrowser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tokenbrowser/subscriptions","organizations_url":"https://api.github.com/users/tokenbrowser/orgs","repos_url":"https://api.github.com/users/tokenbrowser/repos","events_url":"https://api.github.com/users/tokenbrowser/events{/privacy}","received_events_url":"https://api.github.com/users/tokenbrowser/received_events","type":"Organization","site_admin":false},"repo":{"id":78760233,"name":"token-ios-client","full_name":"tokenbrowser/token-ios-client","owner":{"login":"tokenbrowser","id":23038587,"avatar_url":"https://avatars3.githubusercontent.com/u/23038587?v=3","gravatar_id":"","url":"https://api.github.com/users/tokenbrowser","html_url":"https://github.com/tokenbrowser","followers_url":"https://api.github.com/users/tokenbrowser/followers","following_url":"https://api.github.com/users/tokenbrowser/following{/other_user}","gists_url":"https://api.github.com/users/tokenbrowser/gists{/gist_id}","starred_url":"https://api.github.com/users/tokenbrowser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tokenbrowser/subscriptions","organizations_url":"https://api.github.com/users/tokenbrowser/orgs","repos_url":"https://api.github.com/users/tokenbrowser/repos","events_url":"https://api.github.com/users/tokenbrowser/events{/privacy}","received_events_url":"https://api.github.com/users/tokenbrowser/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/tokenbrowser/token-ios-client","description":"iOS client for Token","fork":false,"url":"https://api.github.com/repos/tokenbrowser/token-ios-client","forks_url":"https://api.github.com/repos/tokenbrowser/token-ios-client/forks","keys_url":"https://api.github.com/repos/tokenbrowser/token-ios-client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tokenbrowser/token-ios-client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tokenbrowser/token-ios-client/teams","hooks_url":"https://api.github.com/repos/tokenbrowser/token-ios-client/hooks","issue_events_url":"https://api.github.com/repos/tokenbrowser/token-ios-client/issues/events{/number}","events_url":"https://api.github.com/repos/tokenbrowser/token-ios-client/events","assignees_url":"https://api.github.com/repos/tokenbrowser/token-ios-client/assignees{/user}","branches_url":"https://api.github.com/repos/tokenbrowser/token-ios-client/branches{/branch}","tags_url":"https://api.github.com/repos/tokenbrowser/token-ios-client/tags","blobs_url":"https://api.github.com/repos/tokenbrowser/token-ios-client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tokenbrowser/token-ios-client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tokenbrowser/token-ios-client/git/refs{/sha}","trees_url":"https://api.github.com/repos/tokenbrowser/token-ios-client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tokenbrowser/token-ios-client/statuses/{sha}","languages_url":"https://api.github.com/repos/tokenbrowser/token-ios-client/languages","stargazers_url":"https://api.github.com/repos/tokenbrowser/token-ios-client/stargazers","contributors_url":"https://api.github.com/repos/tokenbrowser/token-ios-client/contributors","subscribers_url":"https://api.github.com/repos/tokenbrowser/token-ios-client/subscribers","subscription_url":"https://api.github.com/repos/tokenbrowser/token-ios-client/subscription","commits_url":"https://api.github.com/repos/tokenbrowser/token-ios-client/commits{/sha}","git_commits_url":"https://api.github.com/repos/tokenbrowser/token-ios-client/git/commits{/sha}","comments_url":"https://api.github.com/repos/tokenbrowser/token-ios-client/comments{/number}","issue_comment_url":"https://api.github.com/repos/tokenbrowser/token-ios-client/issues/comments{/number}","contents_url":"https://api.github.com/repos/tokenbrowser/token-ios-client/contents/{+path}","compare_url":"https://api.github.com/repos/tokenbrowser/token-ios-client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tokenbrowser/token-ios-client/merges","archive_url":"https://api.github.com/repos/tokenbrowser/token-ios-client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tokenbrowser/token-ios-client/downloads","issues_url":"https://api.github.com/repos/tokenbrowser/token-ios-client/issues{/number}","pulls_url":"https://api.github.com/repos/tokenbrowser/token-ios-client/pulls{/number}","milestones_url":"https://api.github.com/repos/tokenbrowser/token-ios-client/milestones{/number}","notifications_url":"https://api.github.com/repos/tokenbrowser/token-ios-client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tokenbrowser/token-ios-client/labels{/name}","releases_url":"https://api.github.com/repos/tokenbrowser/token-ios-client/releases{/id}","deployments_url":"https://api.github.com/repos/tokenbrowser/token-ios-client/deployments","created_at":"2017-01-12T15:41:29Z","updated_at":"2017-05-31T16:02:38Z","pushed_at":"2017-06-02T11:06:35Z","git_url":"git://github.com/tokenbrowser/token-ios-client.git","ssh_url":"git@github.com:tokenbrowser/token-ios-client.git","clone_url":"https://github.com/tokenbrowser/token-ios-client.git","svn_url":"https://github.com/tokenbrowser/token-ios-client","homepage":"","size":295583,"stargazers_count":25,"watchers_count":25,"language":"Swift","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":14,"forks":5,"open_issues":14,"watchers":25,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tokenbrowser/token-ios-client/pulls/257"},"html":{"href":"https://github.com/tokenbrowser/token-ios-client/pull/257"},"issue":{"href":"https://api.github.com/repos/tokenbrowser/token-ios-client/issues/257"},"comments":{"href":"https://api.github.com/repos/tokenbrowser/token-ios-client/issues/257/comments"},"review_comments":{"href":"https://api.github.com/repos/tokenbrowser/token-ios-client/pulls/257/comments"},"review_comment":{"href":"https://api.github.com/repos/tokenbrowser/token-ios-client/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tokenbrowser/token-ios-client/pulls/257/commits"},"statuses":{"href":"https://api.github.com/repos/tokenbrowser/token-ios-client/statuses/4fa3a652710ae108ec59442dd0b0e46e4c868c7d"}}}}
{"actor":{"display_login":"Elland"}}