Philipp Hörist pushed to branch master at gajim / python-nbxmpp


Commits:
ae34031e by Philipp Hörist at 2026-06-06T18:08:12+02:00
cq: Protocol: Fix type annotation in Message class

- - - - -


1 changed file:

- nbxmpp/protocol.py


Changes:

=====================================
nbxmpp/protocol.py
=====================================
@@ -1270,7 +1270,7 @@ class Message(Protocol):
 
     def __init__(
         self,
-        to: str | None = None,
+        to: JID | str | None = None,
         body: str | None = None,
         xhtml: str | None = None,
         typ: Literal["chat", "groupchat", "normal", "headline", "error"] | 
None = None,



View it on GitLab: 
https://dev.gajim.org/gajim/python-nbxmpp/-/commit/ae34031e2c708eec2665d3ae7f9f61c651e6c311

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/python-nbxmpp/-/commit/ae34031e2c708eec2665d3ae7f9f61c651e6c311
You're receiving this email because of your account on dev.gajim.org.


_______________________________________________
Commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to