bug fixes and improvements

- aliases are now handled properly in ABCH
- removed final escargot leftovers (dev webconsole)
- OSCAR etc. logging was not at log level debug
- removed leftover debug code
This commit is contained in:
Athena Funderburg committed 2026-11-06 00:36:13 +00:00
1 parent 4bf878556b
commit 6451bb9426
46 files changed
+307 -541

No files matched your search

+8 -8
View File
@@ -246,7 +246,7 @@ class ICQFoodgroup:
tlvs = unmarshal_tlvs(message.data)
envelope_tlv = find_tlv(tlvs, 0x0001)
if envelope_tlv is None or len(envelope_tlv.data) < 2:
self.logger.info('[Client] ICQ__DB_QUERY without its envelope')
self.logger.debug('[Client] ICQ__DB_QUERY without its envelope')
return
# TLV 0x01: u16 (LE) length, u32 UIN, u16 request type, u16 sequence, [u16 meta subtype], request data
@@ -258,32 +258,32 @@ class ICQFoodgroup:
request_type = reader.u16()
seq = reader.u16()
except ValueError:
self.logger.info('[Client] Truncated ICQ__DB_QUERY')
self.logger.debug('[Client] Truncated ICQ__DB_QUERY')
return
query = ICQContext(client, context, message.request_id, seq)
if request_type == ICQRequest.OfflineMessages:
self.logger.info('[Client] ICQ__DB_QUERY offline messages')
self.logger.debug('[Client] ICQ__DB_QUERY offline messages')
offline_messages(query)
elif request_type == ICQRequest.DeleteOfflineMessages:
self.logger.info('[Client] ICQ__DB_QUERY delete offline messages')
self.logger.debug('[Client] ICQ__DB_QUERY delete offline messages')
delete_offline_messages(query)
elif request_type == ICQRequest.Meta:
try:
subtype = reader.u16()
except ValueError:
return
self.logger.info('[Client] ICQ__DB_QUERY meta', hex(subtype))
self.logger.debug('[Client] ICQ__DB_QUERY meta', hex(subtype))
handler = META_HANDLERS.get(subtype)
if handler is None:
self.logger.info('[Client] Unsupported ICQ meta request', hex(subtype))
self.logger.debug('[Client] Unsupported ICQ meta request', hex(subtype))
return
try:
handler(query, reader)
except ValueError:
self.logger.info('[Client] Malformed ICQ meta request', hex(subtype))
self.logger.debug('[Client] Malformed ICQ meta request', hex(subtype))
else:
self.logger.info('[Client] Unknown ICQ__DB_QUERY request type', hex(request_type))
self.logger.debug('[Client] Unknown ICQ__DB_QUERY request type', hex(request_type))
# offline messages