mirror of
https://github.com/TheCommsChannel/TC2-BBS-mesh.git
synced 2025-08-07 14:12:19 -04:00
Merge pull request #89 from noon92/patch-1
Add new mail notification to main menu and request ack
This commit is contained in:
commit
141eb05156
3 changed files with 16 additions and 10 deletions
|
@ -188,7 +188,7 @@ def on_receive(packet, interface):
|
|||
sender_short_name = get_node_short_name(sender_node_id, interface)
|
||||
receiver_short_name = get_node_short_name(get_node_id_from_num(to_id, interface),
|
||||
interface) if to_id else "Group Chat"
|
||||
logging.info(f"Received message from user '{sender_short_name}' to {receiver_short_name}: {message_string}")
|
||||
logging.info(f"Received message from user '{sender_short_name}' ({sender_node_id}) to {receiver_short_name}: {message_string}")
|
||||
|
||||
bbs_nodes = interface.bbs_nodes
|
||||
is_sync_message = any(message_string.startswith(prefix) for prefix in
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue