mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-24 07:07:43 +01:00
Set availabilityResult for backward compatibility
This commit is contained in:
parent
591356be98
commit
a5023cc93a
1 changed files with 2 additions and 1 deletions
|
@ -28,10 +28,11 @@ public final class OfferAvailabilityResponse extends OfferMessage {
|
|||
|
||||
// TODO keep for backward compatibility. Can be removed once everyone is on v0.4.9
|
||||
public boolean isAvailable;
|
||||
|
||||
|
||||
public OfferAvailabilityResponse(String offerId, AvailabilityResult availabilityResult) {
|
||||
super(offerId);
|
||||
this.availabilityResult = availabilityResult;
|
||||
isAvailable = availabilityResult == AvailabilityResult.AVAILABLE;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Add table
Reference in a new issue