Fix avatar downloads on public chats.

This commit is contained in:
Mikunj 2019-12-02 15:02:31 +11:00
parent b4a81bf937
commit 00856857d7

View File

@ -49,7 +49,6 @@ public class RetrieveProfileAvatarJob extends BaseJob implements InjectableType
.setQueue("RetrieveProfileAvatarJob" + recipient.getAddress().serialize()) .setQueue("RetrieveProfileAvatarJob" + recipient.getAddress().serialize())
.addConstraint(NetworkConstraint.KEY) .addConstraint(NetworkConstraint.KEY)
.setLifespan(TimeUnit.HOURS.toMillis(1)) .setLifespan(TimeUnit.HOURS.toMillis(1))
.setMaxInstances(1)
.setMaxAttempts(2) .setMaxAttempts(2)
.build(), .build(),
recipient, recipient,