크리에이터 내 채널 - 팔로워 리스트
- 팔로우/알람 여부 - 크리에이터이면 항상 Boolean 값을 반환하고 일반유저면 null을 반환하도록 수정
This commit is contained in:
@@ -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
|
||||
}
|
||||
)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user