Don't include chat info in every log line when syncing
This commit is contained in:
parent
2b41398074
commit
e9ec6b5e64
1 changed files with 1 additions and 1 deletions
2
user.go
2
user.go
|
@ -1029,8 +1029,8 @@ func (user *User) syncConversation(v *gmproto.Conversation, source string) {
|
||||||
Str("action", "sync conversation").
|
Str("action", "sync conversation").
|
||||||
Str("conversation_status", updateType.String()).
|
Str("conversation_status", updateType.String()).
|
||||||
Str("data_source", source).
|
Str("data_source", source).
|
||||||
Interface("conversation_data", convCopy).
|
|
||||||
Logger()
|
Logger()
|
||||||
|
log.Debug().Any("conversation_data", convCopy).Msg("Got conversation update")
|
||||||
ctx := log.WithContext(context.TODO())
|
ctx := log.WithContext(context.TODO())
|
||||||
if cancel := portal.cancelCreation.Load(); cancel != nil {
|
if cancel := portal.cancelCreation.Load(); cancel != nil {
|
||||||
if updateType == gmproto.ConversationStatus_SPAM_FOLDER || updateType == gmproto.ConversationStatus_BLOCKED_FOLDER {
|
if updateType == gmproto.ConversationStatus_SPAM_FOLDER || updateType == gmproto.ConversationStatus_BLOCKED_FOLDER {
|
||||||
|
|
Loading…
Reference in a new issue