라이브 방 - 입장메시지 방장만 보이도록 수정
This commit is contained in:
parent
8c3a9e25a0
commit
38df12872a
|
@ -236,7 +236,7 @@ final class LiveRoomViewModel: NSObject, ObservableObject {
|
|||
|
||||
getTotalDonationCan()
|
||||
|
||||
if (userId > 0) {
|
||||
if (userId > 0 && data.creatorId == UserDefaults.int(forKey: .userId)) {
|
||||
let nickname = getUserNicknameAndProfileUrl(accountId: userId).nickname
|
||||
onSuccess(nickname)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue