diff options
author | James Booth <boothj5@gmail.com> | 2016-09-25 22:58:04 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2016-09-25 22:58:04 +0100 |
commit | b8bec9fce61455b71add1d920dd441bae3023bfa (patch) | |
tree | cd415ed4eee1179c11000631ca159836de258fef /src | |
parent | 83974728af4030d829295b8a03def367f9fe14e8 (diff) | |
parent | 9796b23cfd5c0e3ab061f39bf77708fff4a3f52c (diff) | |
download | profani-tty-b8bec9fce61455b71add1d920dd441bae3023bfa.tar.gz |
Merge branch 'master' into win-order
Diffstat (limited to 'src')
-rw-r--r-- | src/xmpp/capabilities.c | 3 |
1 files changed, 1 insertions, 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; |