Expand description
ยงHandle webxdc messages.
Internally status updates are stored in the msgs_status_updates SQL table.
msgs_status_updates contains the following columns:
id- status update serial numbermsg_id- ID of the message in themsgstableupdate_item- JSON representation of the status updateuid- โidโ field of the update, used for deduplication
Status updates are scheduled for sending by adding a record
to smtp_status_updates_table SQL table.
smtp_status_updates contains the following columns:
msg_id- ID of the message in themsgstablefirst_serial- serial number of the first status update to sendlast_serial- serial number of the last status update to senddescr- not used, set to empty string
Modulesยง
- integration ๐
- maps_
integration ๐ - Maps Webxdc Integration.
Structsยง
- Status
Update Item - Update items as sent on the wire and as stored in the database.
- Status
Update ๐Item AndSerial - Update items as passed to the UIs.
- Status
Update Serial - Status Update ID.
- Status
Updates ๐ - Webxdc
Info - Parsed information from WebxdcManifest and fallbacks.
- Webxdc
Manifest - Raw information read from manifest.toml
Constantsยง
- BODY_
DESCR ๐ - Text shown to classic e-mail users in the visible e-mail body.
- STATUS_
UPDATE_ ๐SIZE_ MAX - Status update JSON size soft limit.
- WEBXDC_
API_ ๐VERSION - The current API version.
If
min_apiin manifest.toml is set to a larger value, the Webxdcโs index.html is replaced by an error message. In the future, that may be useful to avoid new Webxdc being loaded on old Delta Chats. - WEBXDC_
DEFAULT_ ๐ICON - WEBXDC_
SUFFIX - Suffix used to recognize webxdc files.
Functionsยง
- find_
zip_ ๐entry - Returns an entry index and a reference.
- get_
blob ๐ - parse_
webxdc_ ๐manifest