mirror of
https://github.com/pdxlocations/contact.git
synced 2026-03-28 17:12:35 +01:00
found the longname bug - squish.
This commit is contained in:
@@ -158,7 +158,7 @@ def maybe_store_nodeinfo_in_db(packet):
|
||||
UPDATE {nodeinfo_table}
|
||||
SET long_name=?, short_name=?
|
||||
WHERE user_id=?
|
||||
''', (packet['longName'], packet['shortName'], packet['from']))
|
||||
''', (packet['decoded']['user']['longName'], packet['decoded']['user']['shortName'], packet['from']))
|
||||
db_connection.commit()
|
||||
|
||||
# Fetch the updated record
|
||||
|
||||
Reference in New Issue
Block a user