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


Commits:
f79f9df6 by lovetox at 2022-01-22T17:22:12+01:00
MUC: Correct type annotations for MucSubject

- - - - -


1 changed file:

- nbxmpp/structs.py


Changes:

=====================================
nbxmpp/structs.py
=====================================
@@ -132,8 +132,8 @@ class MucConfigResult(NamedTuple):
 
 class MucSubject(NamedTuple):
     text: str
-    author: str
-    timestamp: float
+    author: Optional[str]
+    timestamp: Optional[float]
 
 
 class AffiliationResult(NamedTuple):



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

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


_______________________________________________
Commits mailing list
[email protected]
https://lists.gajim.org/cgi-bin/listinfo/commits

Reply via email to