mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-15 19:03:09 -06:00
Better logging in typing event consumer
Signed-off-by: Alex Chen <minecnly@gmail.com>
This commit is contained in:
parent
d3ee72c59b
commit
55219aa746
|
|
@ -70,6 +70,8 @@ func (s *OutputTypingEventConsumer) onMessage(msg *sarama.ConsumerMessage) error
|
||||||
|
|
||||||
log.WithFields(log.Fields{
|
log.WithFields(log.Fields{
|
||||||
"room_id": output.Event.RoomID,
|
"room_id": output.Event.RoomID,
|
||||||
|
"user_id": output.Event.UserID,
|
||||||
|
"typing": output.Event.Typing,
|
||||||
}).Info("received data from typing server")
|
}).Info("received data from typing server")
|
||||||
|
|
||||||
var typingPos int64
|
var typingPos int64
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue