Added rooms iq test

This commit is contained in:
James Booth
2015-05-24 04:13:28 +01:00
parent 2241473ee6
commit 80665ea051
7 changed files with 33 additions and 12 deletions

View File

@@ -92,4 +92,4 @@ cl_ev_send_priv_msg(ProfPrivateWin *privwin, const char * const msg)
{
message_send_private(privwin->fulljid, msg);
ui_outgoing_private_msg(privwin, msg);
}
}

View File

@@ -645,7 +645,8 @@ otr_get_their_fingerprint(const char * const recipient)
prof_otrpolicy_t
otr_get_policy(const char * const recipient)
{
ProfAccount *account = accounts_get_account(jabber_get_account_name());
char *account_name = jabber_get_account_name();
ProfAccount *account = accounts_get_account(account_name);
// check contact specific setting
if (g_list_find_custom(account->otr_manual, recipient, (GCompareFunc)g_strcmp0)) {
account_free(account);

View File

@@ -35,6 +35,8 @@
#ifndef UI_WINDOWS_H
#define UI_WINDOWS_H
#include "ui/window.h"
void wins_init(void);
ProfWin * wins_new_xmlconsole(void);