Log outgoing participant ID when sending
This commit is contained in:
parent
0c5be59fad
commit
2b1f046e75
1 changed files with 4 additions and 1 deletions
|
@ -1710,7 +1710,10 @@ func (portal *Portal) HandleMatrixMessage(sender *User, evt *event.Event, timing
|
||||||
go ms.sendMessageMetrics(evt, err, "Error converting", true)
|
go ms.sendMessageMetrics(evt, err, "Error converting", true)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
log.Debug().Str("tmp_id", req.TmpID).Msg("Sending Matrix message to Google Messages")
|
log.Debug().
|
||||||
|
Str("tmp_id", req.TmpID).
|
||||||
|
Str("participant_id", req.GetMessagePayload().GetParticipantID()).
|
||||||
|
Msg("Sending Matrix message to Google Messages")
|
||||||
start = time.Now()
|
start = time.Now()
|
||||||
_, err = sender.Client.SendMessage(req)
|
_, err = sender.Client.SendMessage(req)
|
||||||
timings.send = time.Since(start)
|
timings.send = time.Since(start)
|
||||||
|
|
Loading…
Reference in a new issue