Skip to content

Commit

Permalink
Be more explicit with the ID we use for account updates.
Browse files Browse the repository at this point in the history
  • Loading branch information
greyson-signal committed Jun 2, 2020
1 parent 7a859c8 commit cd228c4
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -404,7 +404,7 @@ public static void applyAccountStorageSyncUpdates(@NonNull Context context, Opti
if (!update.isPresent()) {
return;
}
applyAccountStorageSyncUpdates(context, update.get().getOld().getId(), update.get().getNew(), true);
applyAccountStorageSyncUpdates(context, StorageId.forAccount(Recipient.self().getStorageServiceId()), update.get().getNew(), true);
}

public static void applyAccountStorageSyncUpdates(@NonNull Context context, @NonNull StorageId storageId, @NonNull SignalAccountRecord update, boolean fetchProfile) {
Expand Down

0 comments on commit cd228c4

Please sign in to comment.