Skip to content

jabber.py 1.7: update for Python 3 #578

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

aelmahmoudy
Copy link

@aelmahmoudy aelmahmoudy commented Aug 19, 2025

Script info

  • Script name: jabber.py
  • Version: 1.7
  • Requirements: xmpppy >= 0.6.0
  • Min WeeChat version: 
  • Script tags: jabber

Description

  • Use _sslObj instead of _sock for socket fd
  • utf-8 encoding/decoding fixes
  • Add str method for Buddy class to return jid of buddy
  • Support /whois, /query and /msg commands for jabber buddies
  • Implement /away command for jabber servers
  • Add XEP-0224 call attention (/jattn) command

Checklist (script update)

  • Author has been contacted
  • Single commit, single file added
  • Commit message format: script_name.py X.Y: …
  • Script version and Changelog have been updated
  • For Python script: works with Python 3 (Python 2 support is optional)
  • Score 100 / 100 displayed by weechat-script-lint

The score is 99 although file has SPDX-FileCopyrightText tags

@aelmahmoudy aelmahmoudy force-pushed the jabber-py3-rebased branch 5 times, most recently from 5a905b2 to aad1605 Compare August 21, 2025 14:20
* Use _sslObj instead of _sock for socket fd
* utf-8 encoding/decoding fixes
* Add __str__ method for Buddy class to return jid of buddy
* Support /whois, /query and /msg commands for jabber buddies
* Implement /away command for jabber servers
* Add XEP-0224 call attention (/jattn) command

TODO:
* use disco to check if other party has call attention enabled
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant