mirror of
https://github.com/SpudGunMan/meshing-around.git
synced 2026-05-07 05:44:28 +02:00
enhance🏓
This commit is contained in:
+1
-1
@@ -209,7 +209,7 @@ def handle_ping(message_from_id, deviceID, message, hop, snr, rssi, isDM, chann
|
||||
msg = "🔊AutoPing via DM only⛔️"
|
||||
|
||||
# if not a DM add the username to the beginning of msg
|
||||
if not isDM:
|
||||
if not useDMForResponse and not isDM:
|
||||
msg = get_name_from_number(message_from_id) + msg
|
||||
|
||||
return msg
|
||||
|
||||
+1
-1
@@ -127,7 +127,7 @@ def handle_ping(message_from_id, deviceID, message, hop, snr, rssi, isDM, chann
|
||||
msg = "🔊AutoPing via DM only⛔️"
|
||||
|
||||
# if not a DM add the username to the beginning of msg
|
||||
if not isDM:
|
||||
if not useDMForResponse and not isDM:
|
||||
msg = get_name_from_number(message_from_id) + msg
|
||||
|
||||
return msg
|
||||
|
||||
Reference in New Issue
Block a user