mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-23 18:30:20 +01:00
Ignore empty profile fetches in RefreshOwnProfileJob.
This commit is contained in:
@@ -151,6 +151,7 @@ public class RecipientUtil {
|
||||
if (!isBlockable(recipient)) {
|
||||
throw new AssertionError("Recipient is not blockable!");
|
||||
}
|
||||
Log.w(TAG, "Blocking " + recipient.getId() + " (group: " + recipient.isGroup() + ")");
|
||||
|
||||
recipient = recipient.resolve();
|
||||
|
||||
@@ -177,6 +178,7 @@ public class RecipientUtil {
|
||||
if (!isBlockable(recipient)) {
|
||||
throw new AssertionError("Recipient is not blockable!");
|
||||
}
|
||||
Log.i(TAG, "Unblocking " + recipient.getId() + " (group: " + recipient.isGroup() + ")");
|
||||
|
||||
SignalDatabase.recipients().setBlocked(recipient.getId(), false);
|
||||
SignalDatabase.recipients().setProfileSharing(recipient.getId(), true);
|
||||
|
||||
Reference in New Issue
Block a user