Allow DMs to numeric short names

This commit is contained in:
Russell Schmidt
2025-06-04 11:55:30 -05:00
parent 8b94dc8111
commit ca7114b058
+1 -1
View File
@@ -804,7 +804,7 @@ def handle_bbspost(message, message_from_id, deviceID):
toNode = int(toNode.strip("!"),16)
except ValueError as e:
toNode = 0
elif toNode.isalpha() or not toNode.isnumeric():
elif toNode.isalpha() or not toNode.isnumeric() or len(toNode) < 5:
# try short name
toNode = get_num_from_short_name(toNode, deviceID)