Move conn is secure function

This commit is contained in:
James Booth
2016-05-06 01:49:27 +01:00
parent 8950dbb768
commit b6c4a2029f
5 changed files with 14 additions and 14 deletions

View File

@@ -401,16 +401,6 @@ session_login_failed(void)
}
}
gboolean
session_conn_is_secured(void)
{
if (connection_get_status() == JABBER_CONNECTED) {
return xmpp_conn_is_secured(connection_get_conn()) == 0 ? FALSE : TRUE;
} else {
return FALSE;
}
}
gboolean
session_send_stanza(const char *const stanza)
{