크리에이터 내 채널 - 팔로워 리스트
- 팔로우/알람 여부 - 크리에이터이면 항상 Boolean 값을 반환하고 일반유저면 null을 반환하도록 수정
This commit is contained in:
parent
9f848e1bdc
commit
2a70a7824f
|
@ -320,8 +320,16 @@ class ExplorerService(
|
||||||
userId = it.userId,
|
userId = it.userId,
|
||||||
profileImage = it.profileImage,
|
profileImage = it.profileImage,
|
||||||
nickname = it.nickname,
|
nickname = it.nickname,
|
||||||
isFollow = creatorFollowing?.isFollow,
|
isFollow = creatorFollowing?.isFollow ?: if (it.role == MemberRole.CREATOR) {
|
||||||
isNotify = creatorFollowing?.isNotify
|
false
|
||||||
|
} else {
|
||||||
|
null
|
||||||
|
},
|
||||||
|
isNotify = creatorFollowing?.isNotify ?: if (it.role == MemberRole.CREATOR) {
|
||||||
|
false
|
||||||
|
} else {
|
||||||
|
null
|
||||||
|
}
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue