diff options
author | wurstsalat <mailtrash@posteo.de> | 2023-06-15 15:00:36 +0300 |
---|---|---|
committer | wurstsalat <mailtrash@posteo.de> | 2023-06-15 17:08:53 +0300 |
commit | 32045991d4e0dd2fbeab0deec026658c563a49aa (patch) | |
tree | 66746bc922d7979ef7a2b275543fa6f739b8a518 | |
parent | 5541e2f219478abcbb5603f5e21ef94f079967f3 (diff) |
cq: OutgoingMessage: Fix type annotation for chatstate
-rw-r--r-- | gajim/common/structs.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gajim/common/structs.py b/gajim/common/structs.py index d3fe5dd65..cc25f1d04 100644 --- a/gajim/common/structs.py +++ b/gajim/common/structs.py @@ -24,7 +24,6 @@ from dataclasses import fields from gi.repository import GLib from nbxmpp.const import Affiliation -from nbxmpp.const import Chatstate from nbxmpp.const import PresenceShow from nbxmpp.const import Role from nbxmpp.modules.dataforms import SimpleDataForm @@ -91,7 +90,7 @@ class OutgoingMessage: message: str | None, type_: str, subject: str | None = None, - chatstate: Chatstate | None = None, + chatstate: str | None = None, marker: tuple[str, str] | None = None, resource: str | None = None, user_nick: str | None = None, |