Tidy unused code

This commit is contained in:
Blergo 2024-07-02 19:19:05 +01:00
parent d799be9414
commit 3b6dd94092

View file

@ -234,7 +234,6 @@ def handle_bb_steps(sender_id, message, step, state, interface, bbs_nodes):
update_user_state(sender_id, None)
return
sender_short_name = node_info['user'].get('shortName', f"Node {sender_id}")
# unique_id = add_bulletin(board, sender_short_name, subject, content, bbs_nodes, interface)
add_bulletin(board, sender_short_name, subject, content, bbs_nodes, interface)
send_message(f"Your bulletin '{subject}' has been posted to {board}.\n(╯°□°)╯📄📌[{board}]", sender_id, interface)
response = f"What would you like to do in the {board} board?\n\n[0]View Bulletins\n[1]Post Bulletin\n[2]Exit"