mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-22 18:00:02 +01:00
Groups V2 avatar download job.
This commit is contained in:
committed by
Greyson Parrelli
parent
e2d3a43593
commit
2b1ffac564
@@ -380,7 +380,7 @@ public final class GroupDatabase extends Database {
|
||||
/**
|
||||
* Used to bust the Glide cache when an avatar changes.
|
||||
*/
|
||||
public void onAvatarUpdated(@NonNull GroupId.V1 groupId, boolean hasAvatar) {
|
||||
public void onAvatarUpdated(@NonNull GroupId.Push groupId, boolean hasAvatar) {
|
||||
ContentValues contentValues = new ContentValues(1);
|
||||
contentValues.put(AVATAR_ID, hasAvatar ? Math.abs(new SecureRandom().nextLong()) : 0);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user