diff options
author | Keuin <[email protected]> | 2022-09-08 11:09:39 +0800 |
---|---|---|
committer | Keuin <[email protected]> | 2022-09-08 11:09:39 +0800 |
commit | 7805c6a04fac3dcd1077b32975ab12d5e04be695 (patch) | |
tree | f470f728b1b67f24c66417dfb259275c7f8f2457 | |
parent | ee451cbd950f82abf1df3d5e49ad74fbe9a53aa8 (diff) |
'Watched people' -> 'The number of viewers'
-rw-r--r-- | recording/watcher.go | 4 |
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) |