mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-07-17 08:41:55 +00:00
core, ui: make msgVerified optional (#7247)
This commit is contained in:
@@ -588,7 +588,7 @@ class CIMeta(TypedDict):
|
||||
editable: bool
|
||||
forwardedByMember: NotRequired[int] # int64
|
||||
showGroupAsSender: bool
|
||||
msgVerified: "MsgVerified"
|
||||
msgVerified: NotRequired["MsgVerified"]
|
||||
createdAt: str # ISO-8601 timestamp
|
||||
updatedAt: str # ISO-8601 timestamp
|
||||
|
||||
@@ -2253,12 +2253,9 @@ class MsgVerified_signed(TypedDict):
|
||||
class MsgVerified_sigMissing(TypedDict):
|
||||
type: Literal["sigMissing"]
|
||||
|
||||
class MsgVerified_unsigned(TypedDict):
|
||||
type: Literal["unsigned"]
|
||||
MsgVerified = MsgVerified_signed | MsgVerified_sigMissing
|
||||
|
||||
MsgVerified = MsgVerified_signed | MsgVerified_sigMissing | MsgVerified_unsigned
|
||||
|
||||
MsgVerified_Tag = Literal["signed", "sigMissing", "unsigned"]
|
||||
MsgVerified_Tag = Literal["signed", "sigMissing"]
|
||||
|
||||
class NameErrorType_NO_RESOLVER(TypedDict):
|
||||
type: Literal["NO_RESOLVER"]
|
||||
|
||||
Reference in New Issue
Block a user