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 themsgs
tableupdate_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 themsgs
tablefirst_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ยง
- Update items as sent on the wire and as stored in the database.
- Update items as passed to the UIs.
- Status Update ID.
- Status
Updates ๐ - Parsed information from WebxdcManifest and fallbacks.
- Raw information read from manifest.toml
Constantsยง
- BODY_
DESCR ๐Text shown to classic e-mail users in the visible e-mail body. - Status update JSON size soft limit.
- WEBXDC_
API_ ๐VERSION The current API version. Ifmin_api
in 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 - Suffix used to recognize webxdc files.
Functionsยง
- find_
zip_ ๐entry Returns an entry index and a reference. - get_
blob ๐