Skip to content

Commit

Permalink
fix: store color in db
Browse files Browse the repository at this point in the history
  • Loading branch information
mohsen-ghafouri committed Jan 16, 2024
1 parent 8923495 commit 2327cca
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions protocol/messenger_settings.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@ func (m *Messenger) SetCustomizationColor(ctx context.Context, request *requests
}
acc.CustomizationColor = request.CustomizationColor
acc.CustomizationColorClock = updatedAt

err = m.multiAccounts.UpdateAccountCustomizationColor(request.KeyUID, string(acc.CustomizationColor), acc.CustomizationColorClock)
if err != nil {
return err
}
err = m.syncAccountCustomizationColor(ctx, acc)
if err != nil {
return err
Expand Down

0 comments on commit 2327cca

Please sign in to comment.