라이브 방 - 입장메시지 방장만 보이도록 수정

This commit is contained in:
Yu Sung 2023-08-21 00:45:46 +09:00
parent 8c3a9e25a0
commit 38df12872a
1 changed files with 1 additions and 1 deletions

View File

@ -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)
}