cypherstack/tor ios and mac updates and toggle tor plugin _enabled more

This commit is contained in:
sneurlax 2023-09-12 15:28:16 -05:00
parent 4773f1ab9f
commit 53baad66b6
2 changed files with 9 additions and 1 deletions

@ -1 +1 @@
Subproject commit db8b4873df443205c6f909039c0ea0ef90590093
Subproject commit 0979ac52a783ff7b87669434b39385f27a27f952

View file

@ -57,6 +57,14 @@ class TorService {
// is explicitly made aware of this
// TODO restart tor after that's been added to the tor-ffi crate
// (probably better to have a restart function separately)
// Fire a TorConnectionStatusChangedEvent on the event bus.
GlobalEventBus.instance.fire(
TorConnectionStatusChangedEvent(
TorConnectionStatus.connected,
"Tor connection status changed: connect ($_enabled)",
),
);
return;
}