diff options
author | James Booth <boothj5@gmail.com> | 2015-05-24 04:13:28 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2015-05-24 04:13:28 +0100 |
commit | 80665ea0514a6a9b93af7858a3db1467091f80df (patch) | |
tree | 4637310015e3389135f5edd46d767f28eea46f71 /src | |
parent | 2241473ee62b7d5d60d20ef0c264e6080cbba8db (diff) | |
download | profani-tty-80665ea0514a6a9b93af7858a3db1467091f80df.tar.gz |
Added rooms iq test
Diffstat (limited to 'src')
-rw-r--r-- | src/event/client_events.c | 2 | ||||
-rw-r--r-- | src/otr/otr.c | 3 | ||||
-rw-r--r-- | src/ui/windows.h | 2 |
3 files changed, 5 insertions, 2 deletions
diff --git a/src/event/client_events.c b/src/event/client_events.c index f0f763a6..8f8501e1 100644 --- a/src/event/client_events.c +++ b/src/event/client_events.c @@ -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); -} \ No newline at end of file +} diff --git a/src/otr/otr.c b/src/otr/otr.c index 4d97cfb9..1f63c8f9 100644 --- a/src/otr/otr.c +++ b/src/otr/otr.c @@ -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); diff --git a/src/ui/windows.h b/src/ui/windows.h index 97183d51..4cc527ca 100644 --- a/src/ui/windows.h +++ b/src/ui/windows.h @@ -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); |