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


Commits:
4313d8bd by Philipp Hörist at 2026-01-02T19:03:44+01:00
cq: Protocol: Correctly annote Message "typ" attribute

- - - - -


1 changed file:

- nbxmpp/protocol.py


Changes:

=====================================
nbxmpp/protocol.py
=====================================
@@ -1273,7 +1273,7 @@ class Message(Protocol):
         to: str | None = None,
         body: str | None = None,
         xhtml: str | None = None,
-        typ: Literal["chat"] | Literal["groupchat"] | Literal["error"] | None 
= None,
+        typ: Literal["chat", "groupchat", "normal", "headline", "error"] | 
None = None,
         subject: MucSubject | None = None,
         attrs: dict[str, Any] | None = None,
         frm: JID | str | None = None,



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

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/python-nbxmpp/-/commit/4313d8bd2feb1bcc42aa42c84c5ddff0716651a7
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