From d00c97e9dbfb59672ced042af8a6e849efab98cc Mon Sep 17 00:00:00 2001 From: Keuin Date: Wed, 7 Sep 2022 14:41:51 +0800 Subject: Handle more unused messages. Improve message. --- recording/watcher.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/recording/watcher.go b/recording/watcher.go index c058496..32a3611 100644 --- a/recording/watcher.go +++ b/recording/watcher.go @@ -147,6 +147,10 @@ func watch( } default: switch info.Command { + case "ENTRY_EFFECT": + fallthrough + case "ONLINE_RANK_V2": + fallthrough case "ONLINE_RANK_COUNT": fallthrough case "STOP_LIVE_ROOM_LIST": @@ -190,7 +194,7 @@ func watch( } logger.Printf("Dan Mu: %v\n", dmm.String()) default: - logger.Printf("Ignoring server message %v %v %v\n", + logger.Printf("Ignore unhandled server message %v %v %v\n", info.Command, msg.Operation, string(msg.Body)) } } -- cgit v1.2.3