mirror of
https://github.com/SpudGunMan/meshing-around.git
synced 2026-08-03 23:42:28 +02:00
strip ! from tonode, cos its copied by default on
the android app.
This commit is contained in:
+1
-1
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user