diff options
author | James Booth <boothj5@gmail.com> | 2014-10-18 19:19:01 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2014-10-18 19:19:01 +0100 |
commit | 0cc25e1b763cbf396a0bb397183761fc7399b4fe (patch) | |
tree | 962740bebc0375ffd33526143b69733c8d512fba /src/xmpp | |
parent | 77674beb7e8f82716f17e7d0dd60d989b54ed6d1 (diff) | |
download | profani-tty-0cc25e1b763cbf396a0bb397183761fc7399b4fe.tar.gz |
Removed debug messages when setting roles/affiliations
Diffstat (limited to 'src/xmpp')
-rw-r--r-- | src/xmpp/iq.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/xmpp/iq.c b/src/xmpp/iq.c index b9a646af..b8530b7c 100644 --- a/src/xmpp/iq.c +++ b/src/xmpp/iq.c @@ -892,8 +892,6 @@ static int _room_affiliation_set_result_handler(xmpp_conn_t * const conn, xmpp_s char *error_message = stanza_get_error_message(stanza); handle_room_affiliation_set_error(from, affiliation_set->item, affiliation_set->privilege, error_message); free(error_message); - } else { - handle_room_affiliation_set(from, affiliation_set->item, affiliation_set->privilege); } free(affiliation_set->item); @@ -922,8 +920,6 @@ static int _room_role_set_result_handler(xmpp_conn_t * const conn, xmpp_stanza_t char *error_message = stanza_get_error_message(stanza); handle_room_role_set_error(from, role_set->item, role_set->privilege, error_message); free(error_message); - } else { - handle_room_role_set(from, role_set->item, role_set->privilege); } free(role_set->item); |