# HG changeset patch # User Paul Aurich # Date 1234112129 0 # Node ID d1a0e487d45f6ffdadcebb74c419c56b96ae1f4c # Parent c2cb082f5f2fb9fcfa805bd49a94fb3a1b1fb05e Request time information from a resource if we don't have caps for it diff -r c2cb082f5f2f -r d1a0e487d45f libpurple/protocols/jabber/buddy.c --- 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);