From f35feaf8de52e4c2a655ff274053c4d031ca7a23 Mon Sep 17 00:00:00 2001 From: Lars Ole Simonsen Date: Sat, 10 Jun 2023 17:46:02 +0200 Subject: [PATCH] Remove check to allow replying to own comments #458 --- .../com/jerboa/ui/components/comment/CommentNode.kt | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/app/src/main/java/com/jerboa/ui/components/comment/CommentNode.kt b/app/src/main/java/com/jerboa/ui/components/comment/CommentNode.kt index 0fdfc09e2..a027dfa0b 100644 --- a/app/src/main/java/com/jerboa/ui/components/comment/CommentNode.kt +++ b/app/src/main/java/com/jerboa/ui/components/comment/CommentNode.kt @@ -569,14 +569,11 @@ fun CommentFooterLine( }, account = account, ) - // Don't let you respond to your own comment. - if (commentView.creator.id != account?.id) { - ActionBarButton( - icon = Icons.Outlined.Textsms, - onClick = { onReplyClick(commentView) }, - account = account, - ) - } + ActionBarButton( + icon = Icons.Outlined.Textsms, + onClick = { onReplyClick(commentView) }, + account = account, + ) ActionBarButton( icon = Icons.Outlined.MoreVert, account = account,