mirror of
https://github.com/chatmail/core.git
synced 2026-04-05 23:22:11 +03:00
- **feat: add `AccountsChanged` and `AccountsItemChanged` events** - **emit event and add tests** closes #6106 TODO: - [x] test receiving synced config from second device - [x] bug: investigate how to delay the configuration event until it is actually configured - because desktop gets the event but still shows account as if it was unconfigured, maybe event is emitted before the value is written to the database? - [x] update node bindings constants
51 lines
1.7 KiB
JavaScript
51 lines
1.7 KiB
JavaScript
/* eslint-disable quotes */
|
|
// Generated!
|
|
|
|
module.exports = {
|
|
100: 'DC_EVENT_INFO',
|
|
101: 'DC_EVENT_SMTP_CONNECTED',
|
|
102: 'DC_EVENT_IMAP_CONNECTED',
|
|
103: 'DC_EVENT_SMTP_MESSAGE_SENT',
|
|
104: 'DC_EVENT_IMAP_MESSAGE_DELETED',
|
|
105: 'DC_EVENT_IMAP_MESSAGE_MOVED',
|
|
106: 'DC_EVENT_IMAP_INBOX_IDLE',
|
|
150: 'DC_EVENT_NEW_BLOB_FILE',
|
|
151: 'DC_EVENT_DELETED_BLOB_FILE',
|
|
300: 'DC_EVENT_WARNING',
|
|
400: 'DC_EVENT_ERROR',
|
|
410: 'DC_EVENT_ERROR_SELF_NOT_IN_GROUP',
|
|
2000: 'DC_EVENT_MSGS_CHANGED',
|
|
2001: 'DC_EVENT_REACTIONS_CHANGED',
|
|
2002: 'DC_EVENT_INCOMING_REACTION',
|
|
2003: 'DC_EVENT_INCOMING_WEBXDC_NOTIFY',
|
|
2005: 'DC_EVENT_INCOMING_MSG',
|
|
2006: 'DC_EVENT_INCOMING_MSG_BUNCH',
|
|
2008: 'DC_EVENT_MSGS_NOTICED',
|
|
2010: 'DC_EVENT_MSG_DELIVERED',
|
|
2012: 'DC_EVENT_MSG_FAILED',
|
|
2015: 'DC_EVENT_MSG_READ',
|
|
2016: 'DC_EVENT_MSG_DELETED',
|
|
2020: 'DC_EVENT_CHAT_MODIFIED',
|
|
2021: 'DC_EVENT_CHAT_EPHEMERAL_TIMER_MODIFIED',
|
|
2030: 'DC_EVENT_CONTACTS_CHANGED',
|
|
2035: 'DC_EVENT_LOCATION_CHANGED',
|
|
2041: 'DC_EVENT_CONFIGURE_PROGRESS',
|
|
2051: 'DC_EVENT_IMEX_PROGRESS',
|
|
2052: 'DC_EVENT_IMEX_FILE_WRITTEN',
|
|
2060: 'DC_EVENT_SECUREJOIN_INVITER_PROGRESS',
|
|
2061: 'DC_EVENT_SECUREJOIN_JOINER_PROGRESS',
|
|
2100: 'DC_EVENT_CONNECTIVITY_CHANGED',
|
|
2110: 'DC_EVENT_SELFAVATAR_CHANGED',
|
|
2111: 'DC_EVENT_CONFIG_SYNCED',
|
|
2120: 'DC_EVENT_WEBXDC_STATUS_UPDATE',
|
|
2121: 'DC_EVENT_WEBXDC_INSTANCE_DELETED',
|
|
2150: 'DC_EVENT_WEBXDC_REALTIME_DATA',
|
|
2151: 'DC_EVENT_WEBXDC_REALTIME_ADVERTISEMENT',
|
|
2200: 'DC_EVENT_ACCOUNTS_BACKGROUND_FETCH_DONE',
|
|
2300: 'DC_EVENT_CHATLIST_CHANGED',
|
|
2301: 'DC_EVENT_CHATLIST_ITEM_CHANGED',
|
|
2302: 'DC_EVENT_ACCOUNTS_CHANGED',
|
|
2303: 'DC_EVENT_ACCOUNTS_ITEM_CHANGED',
|
|
2400: 'DC_EVENT_CHANNEL_OVERFLOW'
|
|
}
|