mirror of
https://mau.dev/mautrix/go.git
synced 2026-03-14 22:35:52 +01:00
keysharing: Add user_id to room key request logs
This commit is contained in:
parent
a4b0b55db2
commit
569ef501bd
1 changed files with 1 additions and 0 deletions
|
|
@ -283,6 +283,7 @@ func (mach *OlmMachine) defaultAllowKeyShare(ctx context.Context, device *id.Dev
|
|||
func (mach *OlmMachine) HandleRoomKeyRequest(ctx context.Context, sender id.UserID, content *event.RoomKeyRequestEventContent) {
|
||||
log := zerolog.Ctx(ctx).With().
|
||||
Str("request_id", content.RequestID).
|
||||
Str("user_id", sender.String()).
|
||||
Str("device_id", content.RequestingDeviceID.String()).
|
||||
Str("room_id", content.Body.RoomID.String()).
|
||||
Str("session_id", content.Body.SessionID.String()).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue