m_cap: add 'tls' core capability

This commit is contained in:
William Pitcock 2012-09-22 14:15:45 -05:00
parent 3e54d7bfb0
commit 538d4d6188
2 changed files with 2 additions and 0 deletions

View file

@ -447,6 +447,7 @@ struct ListClient
#define CLICAP_ACCOUNT_NOTIFY 0x0004
#define CLICAP_EXTENDED_JOIN 0x0008
#define CLICAP_AWAY_NOTIFY 0x0010
#define CLICAP_TLS 0x0020
/*
* flags macros.

View file

@ -73,6 +73,7 @@ static struct clicap
_CLICAP("account-notify", CLICAP_ACCOUNT_NOTIFY, 0, 0),
_CLICAP("extended-join", CLICAP_EXTENDED_JOIN, 0, 0),
_CLICAP("away-notify", CLICAP_AWAY_NOTIFY, 0, 0),
_CLICAP("tls", CLICAP_TLS, 0, 0),
};
#define CLICAP_LIST_LEN (sizeof(clicap_list) / sizeof(struct clicap))