diff options
author | Keuin <[email protected]> | 2022-09-07 14:41:51 +0800 |
---|---|---|
committer | Keuin <[email protected]> | 2022-09-07 14:41:51 +0800 |
commit | d00c97e9dbfb59672ced042af8a6e849efab98cc (patch) | |
tree | c7f1d1c828c0e4d522f44622385d1e2edb6234cb /recording | |
parent | c80f76cb504e425f5d787eaaf801d6f55d0a4535 (diff) |
Handle more unused messages. Improve message.
Diffstat (limited to 'recording')
-rw-r--r-- | recording/watcher.go | 6 |
1 files changed, 5 insertions, 1 deletions
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)) } } |