summaryrefslogtreecommitdiff
path: root/recording/watcher.go
diff options
context:
space:
mode:
authorKeuin <[email protected]>2022-09-08 11:09:39 +0800
committerKeuin <[email protected]>2022-09-08 11:09:39 +0800
commit7805c6a04fac3dcd1077b32975ab12d5e04be695 (patch)
treef470f728b1b67f24c66417dfb259275c7f8f2457 /recording/watcher.go
parentee451cbd950f82abf1df3d5e49ad74fbe9a53aa8 (diff)
'Watched people' -> 'The number of viewers'
Diffstat (limited to 'recording/watcher.go')
-rw-r--r--recording/watcher.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/recording/watcher.go b/recording/watcher.go
index 32a3611..1c7ef84 100644
--- a/recording/watcher.go
+++ b/recording/watcher.go
@@ -165,12 +165,12 @@ func watch(
if !exists {
continue
}
- watchedPeopleNumber, ok := obj.(float64)
+ viewersNum, ok := obj.(float64)
if !ok {
logger.Printf("Cannot parse watched people number: %v\n", obj)
continue
}
- logger.Printf("Watched people (room: %v): %v", roomId, watchedPeopleNumber)
+ logger.Printf("The number of viewers (room: %v): %v", roomId, viewersNum)
case "INTERACT_WORD":
var raw dmmsg.RawInteractWordMessage
err = json.Unmarshal(msg.Body, &raw)