From aa23a5422ad5fdbc560cdfeea36811e4aaf492da Mon Sep 17 00:00:00 2001 From: Jon Chambers Date: Tue, 28 Nov 2023 16:39:19 -0500 Subject: [PATCH] Don't modify registration IDs from the "set account attributes" endpoint --- .../textsecuregcm/controllers/AccountController.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/service/src/main/java/org/whispersystems/textsecuregcm/controllers/AccountController.java b/service/src/main/java/org/whispersystems/textsecuregcm/controllers/AccountController.java index fca1fd3da..65ed15da0 100644 --- a/service/src/main/java/org/whispersystems/textsecuregcm/controllers/AccountController.java +++ b/service/src/main/java/org/whispersystems/textsecuregcm/controllers/AccountController.java @@ -230,8 +230,6 @@ public class AccountController { d.setName(attributes.getName()); d.setLastSeen(Util.todayInMillis()); d.setCapabilities(attributes.getCapabilities()); - d.setRegistrationId(attributes.getRegistrationId()); - d.setPhoneNumberIdentityRegistrationId(attributes.getPhoneNumberIdentityRegistrationId()); d.setUserAgent(userAgent); });