Log raw send response data

This commit is contained in:
Tulir Asokan 2024-05-30 20:11:28 +03:00
parent c1c9455c16
commit 7cf98e493f

View file

@ -131,6 +131,11 @@ func (s *SessionHandler) receiveResponse(msg *IncomingRPCMessage) bool {
} }
} }
evt.Msg("Received response") evt.Msg("Received response")
if msg.Message.Action == gmproto.ActionType_SEND_MESSAGE {
s.client.Logger.Debug().
Str("send_response_data", base64.StdEncoding.EncodeToString(msg.DecryptedData)).
Msg("Message send response data")
}
ch <- msg ch <- msg
return true return true
} }