From 7805c6a04fac3dcd1077b32975ab12d5e04be695 Mon Sep 17 00:00:00 2001 From: Keuin Date: Thu, 8 Sep 2022 11:09:39 +0800 Subject: 'Watched people' -> 'The number of viewers' --- recording/watcher.go | 4 ++-- 1 file 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) -- cgit v1.2.3