From 38df12872a38d273ea17107f6476a4a8d3c6a2e2 Mon Sep 17 00:00:00 2001 From: Yu Sung Date: Mon, 21 Aug 2023 00:45:46 +0900 Subject: [PATCH] =?UTF-8?q?=EB=9D=BC=EC=9D=B4=EB=B8=8C=20=EB=B0=A9=20-=20?= =?UTF-8?q?=EC=9E=85=EC=9E=A5=EB=A9=94=EC=8B=9C=EC=A7=80=20=EB=B0=A9?= =?UTF-8?q?=EC=9E=A5=EB=A7=8C=20=EB=B3=B4=EC=9D=B4=EB=8F=84=EB=A1=9D=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SodaLive/Sources/Live/Room/LiveRoomViewModel.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SodaLive/Sources/Live/Room/LiveRoomViewModel.swift b/SodaLive/Sources/Live/Room/LiveRoomViewModel.swift index 0b982eb..43a61b0 100644 --- a/SodaLive/Sources/Live/Room/LiveRoomViewModel.swift +++ b/SodaLive/Sources/Live/Room/LiveRoomViewModel.swift @@ -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) }