fix privacy friend verification updates
This commit is contained in:
@@ -2996,7 +2996,7 @@ func (profileMapper) UpdatePrivacy(tenantID types.TenantID, uid types.Uid, patch
|
||||
}
|
||||
|
||||
func validUserPrivacyPatch(patch types.UserPrivacyPatch) bool {
|
||||
if patch.AddMeMethods == nil && patch.ProfileVisibility == nil && patch.LastSeenVisibility == nil && patch.ReadReceipts == nil && patch.GroupInviteVerification == nil {
|
||||
if patch.AddMeMethods == nil && patch.ProfileVisibility == nil && patch.LastSeenVisibility == nil && patch.ReadReceipts == nil && patch.FriendRequestVerification == nil && patch.GroupInviteVerification == nil {
|
||||
return false
|
||||
}
|
||||
for method := range patch.AddMeMethods {
|
||||
|
||||
Reference in New Issue
Block a user