From 2a70a7824f2b256430852e5d1314504d47c66fc0 Mon Sep 17 00:00:00 2001 From: Klaus Date: Fri, 20 Sep 2024 01:27:37 +0900 Subject: [PATCH] =?UTF-8?q?=ED=81=AC=EB=A6=AC=EC=97=90=EC=9D=B4=ED=84=B0?= =?UTF-8?q?=20=EB=82=B4=20=EC=B1=84=EB=84=90=20-=20=ED=8C=94=EB=A1=9C?= =?UTF-8?q?=EC=9B=8C=20=EB=A6=AC=EC=8A=A4=ED=8A=B8=20-=20=ED=8C=94?= =?UTF-8?q?=EB=A1=9C=EC=9A=B0/=EC=95=8C=EB=9E=8C=20=EC=97=AC=EB=B6=80=20-?= =?UTF-8?q?=20=ED=81=AC=EB=A6=AC=EC=97=90=EC=9D=B4=ED=84=B0=EC=9D=B4?= =?UTF-8?q?=EB=A9=B4=20=ED=95=AD=EC=83=81=20Boolean=20=EA=B0=92=EC=9D=84?= =?UTF-8?q?=20=EB=B0=98=ED=99=98=ED=95=98=EA=B3=A0=20=EC=9D=BC=EB=B0=98?= =?UTF-8?q?=EC=9C=A0=EC=A0=80=EB=A9=B4=20null=EC=9D=84=20=EB=B0=98?= =?UTF-8?q?=ED=99=98=ED=95=98=EB=8F=84=EB=A1=9D=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../vividnext/sodalive/explorer/ExplorerService.kt | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/src/main/kotlin/kr/co/vividnext/sodalive/explorer/ExplorerService.kt b/src/main/kotlin/kr/co/vividnext/sodalive/explorer/ExplorerService.kt index 4d3c6fb..5286adf 100644 --- a/src/main/kotlin/kr/co/vividnext/sodalive/explorer/ExplorerService.kt +++ b/src/main/kotlin/kr/co/vividnext/sodalive/explorer/ExplorerService.kt @@ -320,8 +320,16 @@ class ExplorerService( userId = it.userId, profileImage = it.profileImage, nickname = it.nickname, - isFollow = creatorFollowing?.isFollow, - isNotify = creatorFollowing?.isNotify + isFollow = creatorFollowing?.isFollow ?: if (it.role == MemberRole.CREATOR) { + false + } else { + null + }, + isNotify = creatorFollowing?.isNotify ?: if (it.role == MemberRole.CREATOR) { + false + } else { + null + } ) }