mirror of
https://github.com/meshcore-dev/meshcore-cli.git
synced 2026-04-20 22:13:48 +00:00
if last sender is none we can fallback to root
This commit is contained in:
parent
c126cb5281
commit
b99c9425af
2 changed files with 2 additions and 2 deletions
|
|
@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|||
|
||||
[project]
|
||||
name = "meshcore-cli"
|
||||
version = "0.7.333"
|
||||
version = "0.7.3"
|
||||
authors = [
|
||||
{ name="Florent de Lamotte", email="florent@frizoncorrea.fr" },
|
||||
]
|
||||
|
|
|
|||
|
|
@ -471,7 +471,7 @@ Line starting with \"$\" or \".\" will issue a meshcli command.
|
|||
contact = pc
|
||||
elif dest == "~" or dest == "/" or dest == mc.self_info['name']:
|
||||
contact = None
|
||||
elif dest == "!" and not process_event_message.last_node is None:
|
||||
elif dest == "!" :
|
||||
contact = process_event_message.last_node
|
||||
else :
|
||||
print(f"Contact '{dest}' not found in contacts.")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue