Initial integration with libdeltachat
This implements configuration, connection, sending and receiving IMs in the simplest possible way. Lots and lots of cases are not handled.
This commit is contained in:
10
libdelta.h
10
libdelta.h
@@ -3,19 +3,21 @@
|
||||
|
||||
#define PLUGIN_ID "prpl-delta"
|
||||
|
||||
#define PLUGIN_CHAT_INFO_CHAT_ID "chat_id"
|
||||
|
||||
#define DELTA_PROTOCOL_OPTS \
|
||||
OPT_PROTO_UNIQUE_CHATNAME | \
|
||||
OPT_PROTO_CHAT_TOPIC | \
|
||||
OPT_PROTO_IM_IMAGE
|
||||
|
||||
#define DEFAULT_SMTP_PORT 25
|
||||
#define DEFAULT_IMAP_PORT 143
|
||||
#define DEFAULT_SMTP_PORT 0
|
||||
#define DEFAULT_IMAP_PORT 0
|
||||
|
||||
|
||||
// These two will instead be the pidgin "username" and "password" options that
|
||||
// I can't seem to get rid of.
|
||||
//#define PLUGIN_ACCOUNT_OPT_ADDR "addr"
|
||||
//#define PLUGIN_ACCOUNT_OPT_IMAP_PASS "mail_pw"
|
||||
#define PLUGIN_ACCOUNT_OPT_ADDR "addr"
|
||||
#define PLUGIN_ACCOUNT_OPT_IMAP_PASS "mail_pw"
|
||||
|
||||
// Share the remaining keys between purple and delta
|
||||
#define PLUGIN_ACCOUNT_OPT_DISPLAY_NAME "displayname"
|
||||
|
||||
Reference in New Issue
Block a user