Moved handle_software_version_result to server_events

This commit is contained in:
James Booth
2014-01-05 21:11:09 +00:00
parent 42fd1fb13e
commit 460a42c7c9
5 changed files with 11 additions and 12 deletions

View File

@@ -35,6 +35,7 @@
#include "log.h"
#include "muc.h"
#include "profanity.h"
#include "server_events.h"
#include "xmpp/capabilities.h"
#include "xmpp/connection.h"
#include "xmpp/stanza.h"
@@ -173,7 +174,7 @@ _iq_handle_version_result(xmpp_conn_t * const conn, xmpp_stanza_t * const stanza
Resource *resource = p_contact_get_resource(contact, jidp->resourcepart);
const char *presence = string_from_resource_presence(resource->presence);
prof_handle_version_result(jid, presence, name_str, version_str, os_str);
handle_software_version_result(jid, presence, name_str, version_str, os_str);
jid_destroy(jidp);