Home

fsky / j2i

public
Overview Code History Branches Pull requestsIssuesInsights
main
HomeOverview Code PRsIssues

Add support for XEP-0092 Software Version queries

3 weeks ago

ece623e
Authored
Kruno9/6/2026, 8:39:26 PM
Implement the ability for the bridge to respond to version queries with the name "j2i" and configurable settings to hide the package version and operating system in XEP-0092 replies. This includes updates to the configuration file and adjustments in the bridge and client components to accommodate the new settings.

- Introduced `hide_version` and `hide_os` flags in the configuration.
- Updated the bridge and client initialization to utilize these new settings.
- Enhanced the software identity configuration to reflect the changes in XEP-0092.

This update improves privacy and customization for users of the bridge.

Parentd2288f6

8 files changed
  • CHANGELOG.md+1−0
  • config.example.toml+7−0
  • src/j2i/bridge.py+6−0
  • src/j2i/config.py+4−0
  • src/j2i/version.py+47−0
  • src/j2i/xmpp/client.py+30−13
  • src/j2i/xmpp/component.py+10−1
  • tests/test_version.py+101−0