Only include receipts feature in disco responses when enabled

issue #829
This commit is contained in:
James Booth
2016-08-18 00:10:15 +01:00
parent 41acaee955
commit 4de570b1ee
4 changed files with 52 additions and 1 deletions

View File

@@ -203,6 +203,8 @@ void iq_last_activity_request(gchar *jid) {}
void iq_autoping_check(void) {}
// caps functions
void caps_add_feature(char *feature) {}
void caps_remove_feature(char *feature) {}
EntityCapabilities* caps_lookup(const char * const jid)
{
return NULL;