diff --git a/src/xmpp/connection.c b/src/xmpp/connection.c index 9cb775bc..3c8fde26 100644 --- a/src/xmpp/connection.c +++ b/src/xmpp/connection.c @@ -759,11 +759,11 @@ _get_from_via_jid(const char* const jid) void connection_features_received(const char* const jid) { - log_info("[CONNECTION] connection_features_received %s", jid); const char* key = _get_from_via_jid(jid); if (!key) { return; } + log_info("[CONNECTION] connection_features_received %s", key); if (g_hash_table_remove(conn.requested_features, key) && g_hash_table_size(conn.requested_features) == 0) { sv_ev_connection_features_received(); }