diff --git a/src/xmpp/capabilities.c b/src/xmpp/capabilities.c index 8f1cf6d6..a9aa5cbb 100644 --- a/src/xmpp/capabilities.c +++ b/src/xmpp/capabilities.c @@ -119,6 +119,14 @@ caps_init(void) g_hash_table_add(prof_features, strdup(STANZA_NS_LAST_MESSAGE_CORRECTION)); } + if (prefs_get_boolean(PREF_MOOD)) { + g_hash_table_add(prof_features, strdup(STANZA_NS_MOOD_NOTIFY)); + } + +#ifdef HAVE_OMEMO + g_hash_table_add(prof_features, strdup(XMPP_FEATURE_OMEMO_DEVICELIST_NOTIFY)); +#endif + my_sha1 = NULL; }