exclude unsigned offers from republish to fix warning

This commit is contained in:
woodser 2024-10-16 15:07:22 -04:00
parent ed567beeb3
commit bc1cfe3ba0

View File

@ -1855,7 +1855,7 @@ public class OpenOfferManager implements PeerManager.Listener, DecryptedDirectMe
}
private boolean preventedFromPublishing(OpenOffer openOffer) {
return openOffer.isDeactivated() || openOffer.isCanceled();
return openOffer.isDeactivated() || openOffer.isCanceled() || openOffer.getOffer().getOfferPayload().getArbitratorSigner() == null;
}
private void startPeriodicRepublishOffersTimer() {