diff --git a/desktop/src/main/java/bisq/desktop/main/offer/offerbook/OfferBookViewModel.java b/desktop/src/main/java/bisq/desktop/main/offer/offerbook/OfferBookViewModel.java index a5b323bb14..7be8ca3278 100644 --- a/desktop/src/main/java/bisq/desktop/main/offer/offerbook/OfferBookViewModel.java +++ b/desktop/src/main/java/bisq/desktop/main/offer/offerbook/OfferBookViewModel.java @@ -538,7 +538,7 @@ class OfferBookViewModel extends ActivatableViewModel { boolean isIgnored(Offer offer) { return preferences.getIgnoreTradersList().stream() - .anyMatch(i -> i.equals(offer.getMakerNodeAddress().getHostNameWithoutPostFix())); + .anyMatch(i -> i.equals(offer.getMakerNodeAddress().getFullAddress())); } boolean isOfferBanned(Offer offer) { diff --git a/desktop/src/main/java/bisq/desktop/main/overlays/windows/FilterWindow.java b/desktop/src/main/java/bisq/desktop/main/overlays/windows/FilterWindow.java index 0f89e8e000..b327ee7588 100644 --- a/desktop/src/main/java/bisq/desktop/main/overlays/windows/FilterWindow.java +++ b/desktop/src/main/java/bisq/desktop/main/overlays/windows/FilterWindow.java @@ -203,10 +203,7 @@ public class FilterWindow extends Overlay { } if (!nodesInputTextField.getText().isEmpty()) { - nodes = new ArrayList<>(Arrays.asList(StringUtils.deleteWhitespace(nodesInputTextField.getText()) - .replace(":9999", "") - .replace(".onion", "") - .split(","))); + nodes = new ArrayList<>(Arrays.asList(StringUtils.deleteWhitespace(nodesInputTextField.getText()).split(","))); } if (!paymentAccountFilterInputTextField.getText().isEmpty()) { @@ -234,24 +231,15 @@ public class FilterWindow extends Overlay { } if (!arbitratorsInputTextField.getText().isEmpty()) { - arbitrators = new ArrayList<>(Arrays.asList(StringUtils.deleteWhitespace(arbitratorsInputTextField.getText()) - .replace(":9999", "") - .replace(".onion", "") - .split(","))); + arbitrators = new ArrayList<>(Arrays.asList(StringUtils.deleteWhitespace(arbitratorsInputTextField.getText()).split(","))); } if (!seedNodesInputTextField.getText().isEmpty()) { - seedNodes = new ArrayList<>(Arrays.asList(StringUtils.deleteWhitespace(seedNodesInputTextField.getText()) - .replace(":9999", "") - .replace(".onion", "") - .split(","))); + seedNodes = new ArrayList<>(Arrays.asList(StringUtils.deleteWhitespace(seedNodesInputTextField.getText()).split(","))); } if (!priceRelayNodesInputTextField.getText().isEmpty()) { - priceRelayNodes = new ArrayList<>(Arrays.asList(StringUtils.deleteWhitespace(priceRelayNodesInputTextField.getText()) - .replace(":9999", "") - .replace(".onion", "") - .split(","))); + priceRelayNodes = new ArrayList<>(Arrays.asList(StringUtils.deleteWhitespace(priceRelayNodesInputTextField.getText()).split(","))); } if (!btcNodesInputTextField.getText().isEmpty()) { diff --git a/desktop/src/main/java/bisq/desktop/main/settings/preferences/PreferencesView.java b/desktop/src/main/java/bisq/desktop/main/settings/preferences/PreferencesView.java index 9c4982806a..c633fcf714 100644 --- a/desktop/src/main/java/bisq/desktop/main/settings/preferences/PreferencesView.java +++ b/desktop/src/main/java/bisq/desktop/main/settings/preferences/PreferencesView.java @@ -324,9 +324,7 @@ public class PreferencesView extends ActivatableViewAndModel - preferences.setIgnoreTradersList(Arrays.asList(StringUtils.deleteWhitespace(newValue) - .replace(":9999", "").replace(".onion", "") - .split(","))); + preferences.setIgnoreTradersList(Arrays.asList(StringUtils.deleteWhitespace(newValue).split(","))); // referralId referralIdInputTextField = addInputTextField(root, ++gridRow, Res.get("setting.preferences.refererId"));