MCPcopy Create free account
hub / github.com/chatmail/core / is_outgoing

Method is_outgoing

python/src/deltachat/message.py:351–358  ·  view source on GitHub ↗

Return True if Message is outgoing.

(self)

Source from the content-addressed store, hash-verified

349 return self._msgstate == const.DC_STATE_IN_SEEN
350
351 def is_outgoing(self):
352 """Return True if Message is outgoing."""
353 return lib.dc_msg_get_state(self._dc_msg) in (
354 const.DC_STATE_OUT_PENDING,
355 const.DC_STATE_OUT_FAILED,
356 const.DC_STATE_OUT_MDN_RCVD,
357 const.DC_STATE_OUT_DELIVERED,
358 )
359
360 def is_out_pending(self):
361 """Return True if Message is outgoing, but is pending (no single checkmark)."""

Callers 2

__repr__Method · 0.95
_map_ffi_eventMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected