Mercurial > pidgin
changeset 25656:d1a0e487d45f
Request time information from a resource if we don't have caps for it
author | Paul Aurich <paul@darkrain42.org> |
---|---|
date | Sun, 08 Feb 2009 16:55:29 +0000 |
parents | c2cb082f5f2f |
children | af351471ec5a |
files | libpurple/protocols/jabber/buddy.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/protocols/jabber/buddy.c Sun Feb 08 16:50:58 2009 +0000 +++ b/libpurple/protocols/jabber/buddy.c Sun Feb 08 16:55:29 2009 +0000 @@ -1830,7 +1830,8 @@ } if (jbr->tz_off == PURPLE_NO_TZ_OFF && - jabber_resource_has_capability(jbr, "urn:xmpp:time")) { + (!jbr->caps || + jabber_resource_has_capability(jbr, "urn:xmpp:time"))) { xmlnode *child; iq = jabber_iq_new(js, JABBER_IQ_GET); xmlnode_set_attrib(iq->node, "to", full_jid);