From 9d92fcdc91ab4cd2968fb945363bb4ab2c49d20b Mon Sep 17 00:00:00 2001
From: Xu Siyuan <inqb@protonmail.com>
Date: Mon, 3 Jul 2023 16:02:11 +0800
Subject: [PATCH] =?UTF-8?q?=E5=9C=A8=20send=5Fauth=20=E6=97=B6=E4=BD=BF?=
 =?UTF-8?q?=E7=94=A8=E4=B8=BB=E6=92=AD=20uid=20=E4=BD=9C=E4=B8=BA=E9=BB=98?=
 =?UTF-8?q?=E8=AE=A4=20uid?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 blivedm/client.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/blivedm/client.py b/blivedm/client.py
index dc167c7..66b63d3 100644
--- a/blivedm/client.py
+++ b/blivedm/client.py
@@ -444,7 +444,7 @@ class BLiveClient:
         发送认证包
         """
         auth_params = {
-            'uid': self._uid,
+            'uid': self._uid or self.room_owner_uid or 0,
             'roomid': self._room_id,
             'protover': 3,
             'platform': 'web',