From 580bdb482fc5efd46577b3228870df5d4f098835 Mon Sep 17 00:00:00 2001 From: James Booth Date: Mon, 19 Sep 2016 23:57:37 +0100 Subject: [PATCH 1/3] Update CHANGELOG --- CHANGELOG | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CHANGELOG b/CHANGELOG index 6193bec8..b143d522 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,8 @@ +0.5.1 +===== + +- Allow positioning input window at top of screen (/inputwin) + 0.5.0 ===== From f683a704ad164796ddd1dc6f49ea48098fc39219 Mon Sep 17 00:00:00 2001 From: James Booth Date: Thu, 22 Sep 2016 21:02:34 +0100 Subject: [PATCH 2/3] Update version to 0.6.0 development --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 3b0ad0be..46e7c775 100644 --- a/configure.ac +++ b/configure.ac @@ -1,7 +1,7 @@ # -*- Autoconf -*- # Process this file with autoconf to produce a configure script. -AC_INIT([profanity], [0.5.1], [boothj5web@gmail.com]) +AC_INIT([profanity], [0.6.0], [boothj5web@gmail.com]) AC_CONFIG_AUX_DIR([build-aux]) AC_CONFIG_MACRO_DIR([m4]) AC_CONFIG_SRCDIR([src/main.c]) From 9796b23cfd5c0e3ab061f39bf77708fff4a3f52c Mon Sep 17 00:00:00 2001 From: James Booth Date: Sun, 25 Sep 2016 22:57:43 +0100 Subject: [PATCH 3/3] Use caps_lookup when checking for feature --- src/xmpp/capabilities.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/xmpp/capabilities.c b/src/xmpp/capabilities.c index ca09e703..e09270cb 100644 --- a/src/xmpp/capabilities.c +++ b/src/xmpp/capabilities.c @@ -310,8 +310,7 @@ caps_lookup(const char *const jid) gboolean caps_jid_has_feature(const char *const jid, const char *const feature) { - char *ver = g_hash_table_lookup(jid_to_ver, jid); - EntityCapabilities *caps = ver ? _caps_by_ver(ver) : _caps_by_jid(jid); + EntityCapabilities *caps = caps_lookup(jid); if (caps == NULL) { return FALSE;