strip ! from tonode, cos its copied by default on

the android app.
This commit is contained in:
Nestpebble
2024-09-27 01:26:01 +01:00
parent ed958302bd
commit 0c1c587bc7
+1 -1
View File
@@ -478,7 +478,7 @@ def handle_bbspost(message, message_from_id, deviceID):
return "example: bbspost $subject #message"
elif "@" in message and not "example:" in message:
toNode = message.split("@")[1].split("#")[0]
toNode = toNode.rstrip()
toNode = toNode.rstrip().strip("!")
if toNode.isalpha() or not toNode.isnumeric():
toNode = get_num_from_short_name(toNode, deviceID)
if toNode == 0: