Merge pull request #89 from noon92/patch-1

Add new mail notification to main menu and request ack
This commit is contained in:
TC² 2024-09-27 10:07:30 -04:00 committed by GitHub
commit 141eb05156
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 16 additions and 10 deletions

View file

@ -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