mirror of
https://github.com/TheCommsChannel/TC2-BBS-mesh.git
synced 2025-03-13 10:56:30 -04:00
Corrected syntax by changing double quotes to single
This commit is contained in:
parent
656eba7ec3
commit
d30811f92d
@ -84,7 +84,7 @@ def add_bulletin(board, sender_short_name, subject, content, bbs_nodes, interfac
|
|||||||
|
|
||||||
# New logic to send group chat notification for urgent bulletins
|
# New logic to send group chat notification for urgent bulletins
|
||||||
if board.lower() == "urgent":
|
if board.lower() == "urgent":
|
||||||
notification_message = f"💥NEW URGENT BULLETIN💥\nFrom: {sender_short_name}\nTitle: {subject}\nDM "CB,,Urgent" to view"
|
notification_message = f"💥NEW URGENT BULLETIN💥\nFrom: {sender_short_name}\nTitle: {subject}\nDM 'CB,,Urgent' to view"
|
||||||
send_message(notification_message, BROADCAST_NUM, interface)
|
send_message(notification_message, BROADCAST_NUM, interface)
|
||||||
|
|
||||||
return unique_id
|
return unique_id
|
||||||
|
@ -71,7 +71,7 @@ def process_message(sender_id, message, interface, is_sync_message=False):
|
|||||||
add_bulletin(board, sender_short_name, subject, content, [], interface, unique_id=unique_id)
|
add_bulletin(board, sender_short_name, subject, content, [], interface, unique_id=unique_id)
|
||||||
|
|
||||||
if board.lower() == "urgent":
|
if board.lower() == "urgent":
|
||||||
notification_message = f"💥NEW URGENT BULLETIN💥\nFrom: {sender_short_name}\nTitle: {subject}\nDM "CB,,Urgent" to view"
|
notification_message = f"💥NEW URGENT BULLETIN💥\nFrom: {sender_short_name}\nTitle: {subject}\nDM 'CB,,Urgent' to view"
|
||||||
send_message(notification_message, BROADCAST_NUM, interface)
|
send_message(notification_message, BROADCAST_NUM, interface)
|
||||||
elif message.startswith("MAIL|"):
|
elif message.startswith("MAIL|"):
|
||||||
parts = message.split("|")
|
parts = message.split("|")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user