From 130c995b9219b3b8a02897f4869fe0e67e33f03e Mon Sep 17 00:00:00 2001 From: Igor Sirotin Date: Wed, 14 Aug 2024 10:32:17 +0100 Subject: [PATCH] chore_: remove logging identity images (#5708) --- protocol/messenger.go | 7 ------- 1 file changed, 7 deletions(-) diff --git a/protocol/messenger.go b/protocol/messenger.go index 69ddcecb0..6a73232ca 100644 --- a/protocol/messenger.go +++ b/protocol/messenger.go @@ -14,7 +14,6 @@ import ( "sync" "time" - "github.com/davecgh/go-spew/spew" "github.com/golang/protobuf/proto" "github.com/google/uuid" "github.com/libp2p/go-libp2p/core/peer" @@ -1378,10 +1377,7 @@ func (m *Messenger) attachIdentityImagesToChatIdentity(context ChatContext, ci * return nil } - m.logger.Debug(fmt.Sprintf("%s images.IdentityImage '%s'", context, spew.Sdump(img))) - ciis[images.SmallDimName] = m.adaptIdentityImageToProtobuf(img) - m.logger.Debug(fmt.Sprintf("%s protobuf.IdentityImage '%s'", context, spew.Sdump(ciis))) ci.Images = ciis case privateChat: @@ -1392,12 +1388,9 @@ func (m *Messenger) attachIdentityImagesToChatIdentity(context ChatContext, ci * return err } - m.logger.Debug(fmt.Sprintf("%s images.IdentityImage '%s'", context, spew.Sdump(imgs))) - for _, img := range imgs { ciis[img.Name] = m.adaptIdentityImageToProtobuf(img) } - m.logger.Debug(fmt.Sprintf("%s protobuf.IdentityImage '%s'", context, spew.Sdump(ciis))) ci.Images = ciis default: