]> 127.0.0.1 Git - bili_danmu/.git/commitdiff
Improve 有时不返回弹幕 开播刷新弹幕
authorqydysky <32743305+qydysky@users.noreply.github.com>
Wed, 22 Feb 2023 18:58:05 +0000 (02:58 +0800)
committerqydysky <32743305+qydysky@users.noreply.github.com>
Wed, 22 Feb 2023 18:58:05 +0000 (02:58 +0800)
Reply/Reply.go

index b206024c0af4d470e9694cc82cf2a7495e74a5de..736e3d3113205211db20a49f6f087c7ff1bb428a 100644 (file)
@@ -768,6 +768,8 @@ func (replyF) live(s string) {
                                StreamOStop(-2) //停止其他房间录制
                        }
                        StreamOStart(c.C.Roomid)
+                       //有时不返回弹幕 开播刷新弹幕
+                       c.C.Danmu_Main_mq.Push_tag(`flash_room`, nil)
                }()
 
                Gui_show(Itos([]interface{}{"房间", type_item.Roomid, "开播了"}), "0room")