Compare commits

...

2 commits

2 changed files with 19 additions and 11 deletions

View file

@ -1648,6 +1648,9 @@ class Worker(QObject):
return False
def _maybe_auto_use_ticket(self):
profile_connection_type = self.profile.connection.code
if profile_connection_type == "wireguard":
try:
which_ticket, error_msg = do_we_use_a_random_ticket(ticket_observer)
except Exception:
@ -1659,6 +1662,11 @@ class Worker(QObject):
if which_ticket is None or which_ticket == 'error':
return None
return self._consume_ticket(which_ticket, None)
# it's not wireguard,
else:
error_msg = "Tickets are not yet supported for Tor. We are very sorry, but we're not able to develop all features for all products."
print(error_msg)
return None
def _consume_ticket(self, which_ticket, which_location):
candidates = self._location_candidates(preferred=which_location)

View file

@ -1,6 +1,6 @@
[project]
name = "sp-hydra-veil-gui"
version = "2.3.0"
version = "2.3.1"
authors = [
{ name = "Simplified Privacy" },
]