summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeuin <[email protected]>2022-09-07 14:41:51 +0800
committerKeuin <[email protected]>2022-09-07 14:41:51 +0800
commitd00c97e9dbfb59672ced042af8a6e849efab98cc (patch)
treec7f1d1c828c0e4d522f44622385d1e2edb6234cb
parentc80f76cb504e425f5d787eaaf801d6f55d0a4535 (diff)
Handle more unused messages. Improve message.
-rw-r--r--recording/watcher.go6
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))
}
}