Save username when applying update to AccountRecord.

This commit is contained in:
Greyson Parrelli 2023-02-22 09:23:49 -05:00
parent b92346d4ae
commit 316df00287

View file

@ -1036,6 +1036,7 @@ open class RecipientTable(context: Context, databaseHelper: SignalDatabase) : Da
Log.w(TAG, "Avoided attempt to apply null profile key in account record update!")
}
put(USERNAME, update.new.username)
put(STORAGE_SERVICE_ID, Base64.encodeBytes(update.new.id.raw))
if (update.new.hasUnknownFields()) {