mirror of
https://github.com/markqvist/LXMF.git
synced 2025-11-19 23:13:04 -05:00
Stat query default identity as local
This commit is contained in:
parent
f383450b37
commit
8e3ffb0d2a
1 changed files with 2 additions and 1 deletions
|
|
@ -617,7 +617,8 @@ def request_unpeer(target, remote=None, configdir=None, rnsconfigdir=None, verbo
|
||||||
print(f"Broke peering with {RNS.prettyhexrep(peer_destination_hash)}")
|
print(f"Broke peering with {RNS.prettyhexrep(peer_destination_hash)}")
|
||||||
exit(0)
|
exit(0)
|
||||||
|
|
||||||
def query_status(identity, remote_identity, timeout=5, exit_on_fail=False):
|
def query_status(identity, remote_identity=None, timeout=5, exit_on_fail=False):
|
||||||
|
if remote_identity == None: remote_identity = identity
|
||||||
control_destination = RNS.Destination(remote_identity, RNS.Destination.OUT, RNS.Destination.SINGLE, APP_NAME, "propagation", "control")
|
control_destination = RNS.Destination(remote_identity, RNS.Destination.OUT, RNS.Destination.SINGLE, APP_NAME, "propagation", "control")
|
||||||
|
|
||||||
timeout = time.time()+timeout
|
timeout = time.time()+timeout
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue