Mercurial > pidgin
diff libpurple/protocols/jabber/jutil.h @ 28728:bc1eb4dacd00
jabber: When getting info on a "bare" domain JID, interpret the value of "last"
as the server's uptime. Don't show status (as offline).
author | Marcus Lundblad <ml@update.uu.se> |
---|---|
date | Tue, 01 Dec 2009 21:26:58 +0000 |
parents | 2e3678cd33a0 |
children | d558d141aaae |
line wrap: on
line diff
--- a/libpurple/protocols/jabber/jutil.h Tue Dec 01 04:56:47 2009 +0000 +++ b/libpurple/protocols/jabber/jutil.h Tue Dec 01 21:26:58 2009 +0000 @@ -35,10 +35,13 @@ JabberID* jabber_id_new(const char *str); void jabber_id_free(JabberID *jid); +char *jabber_get_domain(const char *jid); char *jabber_get_resource(const char *jid); char *jabber_get_bare_jid(const char *jid); char *jabber_id_get_bare_jid(const JabberID *jid); +gboolean jabber_jid_is_domain(const char *jid); + const char *jabber_normalize(const PurpleAccount *account, const char *in); /* Returns true if JID is the bare JID of our server. */