chore_: remove logging identity images (#5708)

This commit is contained in:
Igor Sirotin 2024-08-14 10:32:17 +01:00 committed by GitHub
parent c97cedba9a
commit 130c995b92
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 7 deletions

View File

@ -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: