diff options
Diffstat (limited to 'recording')
-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) |