{"action":"created","comment":{"url":"https://api.github.com/repos/nextcloud/talk-android/pulls/comments/361503609","pull_request_review_id":336579194,"id":361503609,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDM2MTUwMzYwOQ==","diff_hunk":"@@ -97,23 +98,11 @@ object DisplayUtils {\n \n     fun getRoundedDrawable(drawable: Drawable?): Drawable {\n         val bitmap = getBitmap(drawable!!)\n-        return BitmapDrawable(roundImage(BitmapPool(10000), bitmap))\n-    }\n-\n-    private fun roundImage(pool: BitmapPool, input: Bitmap): Bitmap {\n-        val paint = Paint(Paint.ANTI_ALIAS_FLAG or Paint.FILTER_BITMAP_FLAG)\n-\n-        val minSize = min(input.width, input.height)\n-        val radius = minSize / 2f\n-        val output = pool.get(minSize, minSize, input.config)\n-        output.applyCanvas {\n-            drawCircle(radius, radius, radius, paint)\n-            paint.xfermode = PorterDuffXfermode(PorterDuff.Mode.SRC_IN)\n-            drawBitmap(input, radius - input.width / 2, radius - input.height / 2, paint)\n+        val drawable = runBlocking {\n+            return@runBlocking BitmapDrawable(CircleCropTransformation().transform(BitmapPool(10000), bitmap))","path":"app/src/main/java/com/nextcloud/talk/utils/DisplayUtils.kt","position":26,"original_position":26,"commit_id":"98dc42c0ac5603eafc2d2fc6d2d1841d3a00c016","original_commit_id":"98dc42c0ac5603eafc2d2fc6d2d1841d3a00c016","user":{"login":"nextcloud-android-bot","id":28524381,"node_id":"MDQ6VXNlcjI4NTI0Mzgx","avatar_url":"https://avatars2.githubusercontent.com/u/28524381?v=4","gravatar_id":"","url":"https://api.github.com/users/nextcloud-android-bot","html_url":"https://github.com/nextcloud-android-bot","followers_url":"https://api.github.com/users/nextcloud-android-bot/followers","following_url":"https://api.github.com/users/nextcloud-android-bot/following{/other_user}","gists_url":"https://api.github.com/users/nextcloud-android-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/nextcloud-android-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nextcloud-android-bot/subscriptions","organizations_url":"https://api.github.com/users/nextcloud-android-bot/orgs","repos_url":"https://api.github.com/users/nextcloud-android-bot/repos","events_url":"https://api.github.com/users/nextcloud-android-bot/events{/privacy}","received_events_url":"https://api.github.com/users/nextcloud-android-bot/received_events","type":"User","site_admin":false},"body":"![Codacy](https://app.codacy.com/assets/images/favicon.png) Issue found: [LabeledExpression - [<anonymous>] at /src/app/src/main/java/com/nextcloud/talk/utils/DisplayUtils.kt:102:13](https://app.codacy.com/manual/info_63/talk-android/pullRequest?prid=4732397)","created_at":"2019-12-26T17:53:33Z","updated_at":"2019-12-26T17:53:33Z","html_url":"https://github.com/nextcloud/talk-android/pull/690#discussion_r361503609","pull_request_url":"https://api.github.com/repos/nextcloud/talk-android/pulls/690","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/nextcloud/talk-android/pulls/comments/361503609"},"html":{"href":"https://github.com/nextcloud/talk-android/pull/690#discussion_r361503609"},"pull_request":{"href":"https://api.github.com/repos/nextcloud/talk-android/pulls/690"}}},"pull_request":{"url":"https://api.github.com/repos/nextcloud/talk-android/pulls/690","id":356857846,"node_id":"MDExOlB1bGxSZXF1ZXN0MzU2ODU3ODQ2","html_url":"https://github.com/nextcloud/talk-android/pull/690","diff_url":"https://github.com/nextcloud/talk-android/pull/690.diff","patch_url":"https://github.com/nextcloud/talk-android/pull/690.patch","issue_url":"https://api.github.com/repos/nextcloud/talk-android/issues/690","number":690,"state":"open","locked":false,"title":"Message replies","user":{"login":"mario","id":5810,"node_id":"MDQ6VXNlcjU4MTA=","avatar_url":"https://avatars3.githubusercontent.com/u/5810?v=4","gravatar_id":"","url":"https://api.github.com/users/mario","html_url":"https://github.com/mario","followers_url":"https://api.github.com/users/mario/followers","following_url":"https://api.github.com/users/mario/following{/other_user}","gists_url":"https://api.github.com/users/mario/gists{/gist_id}","starred_url":"https://api.github.com/users/mario/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mario/subscriptions","organizations_url":"https://api.github.com/users/mario/orgs","repos_url":"https://api.github.com/users/mario/repos","events_url":"https://api.github.com/users/mario/events{/privacy}","received_events_url":"https://api.github.com/users/mario/received_events","type":"User","site_admin":false},"body":"Once finished, will fix #647 ","created_at":"2019-12-26T02:54:53Z","updated_at":"2019-12-26T17:53:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2275fb5dc52d46f66a5a17c98de1f70d5c0c9590","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":1049052345,"node_id":"MDU6TGFiZWwxMDQ5MDUyMzQ1","url":"https://api.github.com/repos/nextcloud/talk-android/labels/1.%20developing","name":"1. developing","color":"0052cc","default":false,"description":""}],"milestone":null,"commits_url":"https://api.github.com/repos/nextcloud/talk-android/pulls/690/commits","review_comments_url":"https://api.github.com/repos/nextcloud/talk-android/pulls/690/comments","review_comment_url":"https://api.github.com/repos/nextcloud/talk-android/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nextcloud/talk-android/issues/690/comments","statuses_url":"https://api.github.com/repos/nextcloud/talk-android/statuses/98dc42c0ac5603eafc2d2fc6d2d1841d3a00c016","head":{"label":"nextcloud:message-replies","ref":"message-replies","sha":"98dc42c0ac5603eafc2d2fc6d2d1841d3a00c016","user":{"login":"nextcloud","id":19211038,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE5MjExMDM4","avatar_url":"https://avatars1.githubusercontent.com/u/19211038?v=4","gravatar_id":"","url":"https://api.github.com/users/nextcloud","html_url":"https://github.com/nextcloud","followers_url":"https://api.github.com/users/nextcloud/followers","following_url":"https://api.github.com/users/nextcloud/following{/other_user}","gists_url":"https://api.github.com/users/nextcloud/gists{/gist_id}","starred_url":"https://api.github.com/users/nextcloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nextcloud/subscriptions","organizations_url":"https://api.github.com/users/nextcloud/orgs","repos_url":"https://api.github.com/users/nextcloud/repos","events_url":"https://api.github.com/users/nextcloud/events{/privacy}","received_events_url":"https://api.github.com/users/nextcloud/received_events","type":"Organization","site_admin":false},"repo":{"id":103100469,"node_id":"MDEwOlJlcG9zaXRvcnkxMDMxMDA0Njk=","name":"talk-android","full_name":"nextcloud/talk-android","private":false,"owner":{"login":"nextcloud","id":19211038,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE5MjExMDM4","avatar_url":"https://avatars1.githubusercontent.com/u/19211038?v=4","gravatar_id":"","url":"https://api.github.com/users/nextcloud","html_url":"https://github.com/nextcloud","followers_url":"https://api.github.com/users/nextcloud/followers","following_url":"https://api.github.com/users/nextcloud/following{/other_user}","gists_url":"https://api.github.com/users/nextcloud/gists{/gist_id}","starred_url":"https://api.github.com/users/nextcloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nextcloud/subscriptions","organizations_url":"https://api.github.com/users/nextcloud/orgs","repos_url":"https://api.github.com/users/nextcloud/repos","events_url":"https://api.github.com/users/nextcloud/events{/privacy}","received_events_url":"https://api.github.com/users/nextcloud/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/nextcloud/talk-android","description":"📱😀 Video & audio calls through Nextcloud on Android","fork":false,"url":"https://api.github.com/repos/nextcloud/talk-android","forks_url":"https://api.github.com/repos/nextcloud/talk-android/forks","keys_url":"https://api.github.com/repos/nextcloud/talk-android/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nextcloud/talk-android/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nextcloud/talk-android/teams","hooks_url":"https://api.github.com/repos/nextcloud/talk-android/hooks","issue_events_url":"https://api.github.com/repos/nextcloud/talk-android/issues/events{/number}","events_url":"https://api.github.com/repos/nextcloud/talk-android/events","assignees_url":"https://api.github.com/repos/nextcloud/talk-android/assignees{/user}","branches_url":"https://api.github.com/repos/nextcloud/talk-android/branches{/branch}","tags_url":"https://api.github.com/repos/nextcloud/talk-android/tags","blobs_url":"https://api.github.com/repos/nextcloud/talk-android/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nextcloud/talk-android/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nextcloud/talk-android/git/refs{/sha}","trees_url":"https://api.github.com/repos/nextcloud/talk-android/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nextcloud/talk-android/statuses/{sha}","languages_url":"https://api.github.com/repos/nextcloud/talk-android/languages","stargazers_url":"https://api.github.com/repos/nextcloud/talk-android/stargazers","contributors_url":"https://api.github.com/repos/nextcloud/talk-android/contributors","subscribers_url":"https://api.github.com/repos/nextcloud/talk-android/subscribers","subscription_url":"https://api.github.com/repos/nextcloud/talk-android/subscription","commits_url":"https://api.github.com/repos/nextcloud/talk-android/commits{/sha}","git_commits_url":"https://api.github.com/repos/nextcloud/talk-android/git/commits{/sha}","comments_url":"https://api.github.com/repos/nextcloud/talk-android/comments{/number}","issue_comment_url":"https://api.github.com/repos/nextcloud/talk-android/issues/comments{/number}","contents_url":"https://api.github.com/repos/nextcloud/talk-android/contents/{+path}","compare_url":"https://api.github.com/repos/nextcloud/talk-android/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nextcloud/talk-android/merges","archive_url":"https://api.github.com/repos/nextcloud/talk-android/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nextcloud/talk-android/downloads","issues_url":"https://api.github.com/repos/nextcloud/talk-android/issues{/number}","pulls_url":"https://api.github.com/repos/nextcloud/talk-android/pulls{/number}","milestones_url":"https://api.github.com/repos/nextcloud/talk-android/milestones{/number}","notifications_url":"https://api.github.com/repos/nextcloud/talk-android/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nextcloud/talk-android/labels{/name}","releases_url":"https://api.github.com/repos/nextcloud/talk-android/releases{/id}","deployments_url":"https://api.github.com/repos/nextcloud/talk-android/deployments","created_at":"2017-09-11T06:53:14Z","updated_at":"2019-12-26T15:17:30Z","pushed_at":"2019-12-26T17:51:30Z","git_url":"git://github.com/nextcloud/talk-android.git","ssh_url":"git@github.com:nextcloud/talk-android.git","clone_url":"https://github.com/nextcloud/talk-android.git","svn_url":"https://github.com/nextcloud/talk-android","homepage":"","size":11769,"stargazers_count":180,"watchers_count":180,"language":"Kotlin","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":64,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":94,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":64,"open_issues":94,"watchers":180,"default_branch":"master"}},"base":{"label":"nextcloud:master","ref":"master","sha":"25841af57cd7c07d976f728f23380f9860420818","user":{"login":"nextcloud","id":19211038,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE5MjExMDM4","avatar_url":"https://avatars1.githubusercontent.com/u/19211038?v=4","gravatar_id":"","url":"https://api.github.com/users/nextcloud","html_url":"https://github.com/nextcloud","followers_url":"https://api.github.com/users/nextcloud/followers","following_url":"https://api.github.com/users/nextcloud/following{/other_user}","gists_url":"https://api.github.com/users/nextcloud/gists{/gist_id}","starred_url":"https://api.github.com/users/nextcloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nextcloud/subscriptions","organizations_url":"https://api.github.com/users/nextcloud/orgs","repos_url":"https://api.github.com/users/nextcloud/repos","events_url":"https://api.github.com/users/nextcloud/events{/privacy}","received_events_url":"https://api.github.com/users/nextcloud/received_events","type":"Organization","site_admin":false},"repo":{"id":103100469,"node_id":"MDEwOlJlcG9zaXRvcnkxMDMxMDA0Njk=","name":"talk-android","full_name":"nextcloud/talk-android","private":false,"owner":{"login":"nextcloud","id":19211038,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE5MjExMDM4","avatar_url":"https://avatars1.githubusercontent.com/u/19211038?v=4","gravatar_id":"","url":"https://api.github.com/users/nextcloud","html_url":"https://github.com/nextcloud","followers_url":"https://api.github.com/users/nextcloud/followers","following_url":"https://api.github.com/users/nextcloud/following{/other_user}","gists_url":"https://api.github.com/users/nextcloud/gists{/gist_id}","starred_url":"https://api.github.com/users/nextcloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nextcloud/subscriptions","organizations_url":"https://api.github.com/users/nextcloud/orgs","repos_url":"https://api.github.com/users/nextcloud/repos","events_url":"https://api.github.com/users/nextcloud/events{/privacy}","received_events_url":"https://api.github.com/users/nextcloud/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/nextcloud/talk-android","description":"📱😀 Video & audio calls through Nextcloud on Android","fork":false,"url":"https://api.github.com/repos/nextcloud/talk-android","forks_url":"https://api.github.com/repos/nextcloud/talk-android/forks","keys_url":"https://api.github.com/repos/nextcloud/talk-android/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nextcloud/talk-android/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nextcloud/talk-android/teams","hooks_url":"https://api.github.com/repos/nextcloud/talk-android/hooks","issue_events_url":"https://api.github.com/repos/nextcloud/talk-android/issues/events{/number}","events_url":"https://api.github.com/repos/nextcloud/talk-android/events","assignees_url":"https://api.github.com/repos/nextcloud/talk-android/assignees{/user}","branches_url":"https://api.github.com/repos/nextcloud/talk-android/branches{/branch}","tags_url":"https://api.github.com/repos/nextcloud/talk-android/tags","blobs_url":"https://api.github.com/repos/nextcloud/talk-android/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nextcloud/talk-android/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nextcloud/talk-android/git/refs{/sha}","trees_url":"https://api.github.com/repos/nextcloud/talk-android/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nextcloud/talk-android/statuses/{sha}","languages_url":"https://api.github.com/repos/nextcloud/talk-android/languages","stargazers_url":"https://api.github.com/repos/nextcloud/talk-android/stargazers","contributors_url":"https://api.github.com/repos/nextcloud/talk-android/contributors","subscribers_url":"https://api.github.com/repos/nextcloud/talk-android/subscribers","subscription_url":"https://api.github.com/repos/nextcloud/talk-android/subscription","commits_url":"https://api.github.com/repos/nextcloud/talk-android/commits{/sha}","git_commits_url":"https://api.github.com/repos/nextcloud/talk-android/git/commits{/sha}","comments_url":"https://api.github.com/repos/nextcloud/talk-android/comments{/number}","issue_comment_url":"https://api.github.com/repos/nextcloud/talk-android/issues/comments{/number}","contents_url":"https://api.github.com/repos/nextcloud/talk-android/contents/{+path}","compare_url":"https://api.github.com/repos/nextcloud/talk-android/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nextcloud/talk-android/merges","archive_url":"https://api.github.com/repos/nextcloud/talk-android/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nextcloud/talk-android/downloads","issues_url":"https://api.github.com/repos/nextcloud/talk-android/issues{/number}","pulls_url":"https://api.github.com/repos/nextcloud/talk-android/pulls{/number}","milestones_url":"https://api.github.com/repos/nextcloud/talk-android/milestones{/number}","notifications_url":"https://api.github.com/repos/nextcloud/talk-android/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nextcloud/talk-android/labels{/name}","releases_url":"https://api.github.com/repos/nextcloud/talk-android/releases{/id}","deployments_url":"https://api.github.com/repos/nextcloud/talk-android/deployments","created_at":"2017-09-11T06:53:14Z","updated_at":"2019-12-26T15:17:30Z","pushed_at":"2019-12-26T17:51:30Z","git_url":"git://github.com/nextcloud/talk-android.git","ssh_url":"git@github.com:nextcloud/talk-android.git","clone_url":"https://github.com/nextcloud/talk-android.git","svn_url":"https://github.com/nextcloud/talk-android","homepage":"","size":11769,"stargazers_count":180,"watchers_count":180,"language":"Kotlin","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":64,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":94,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":64,"open_issues":94,"watchers":180,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nextcloud/talk-android/pulls/690"},"html":{"href":"https://github.com/nextcloud/talk-android/pull/690"},"issue":{"href":"https://api.github.com/repos/nextcloud/talk-android/issues/690"},"comments":{"href":"https://api.github.com/repos/nextcloud/talk-android/issues/690/comments"},"review_comments":{"href":"https://api.github.com/repos/nextcloud/talk-android/pulls/690/comments"},"review_comment":{"href":"https://api.github.com/repos/nextcloud/talk-android/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nextcloud/talk-android/pulls/690/commits"},"statuses":{"href":"https://api.github.com/repos/nextcloud/talk-android/statuses/98dc42c0ac5603eafc2d2fc6d2d1841d3a00c016"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"nextcloud-android-bot"}}