Mercurial > pidgin
comparison libpurple/protocols/jabber/jabber.c @ 27054:dd7e7071d46d
Whitespace + a change cluttering up the diff with im.pidgin.pidgin
author | Paul Aurich <paul@darkrain42.org> |
---|---|
date | Sat, 06 Jun 2009 06:33:18 +0000 |
parents | f5369bdd0285 |
children | 2d258a809609 |
comparison
equal
deleted
inserted
replaced
27053:f5369bdd0285 | 27054:dd7e7071d46d |
---|---|
1905 const char* jabber_list_emblem(PurpleBuddy *b) | 1905 const char* jabber_list_emblem(PurpleBuddy *b) |
1906 { | 1906 { |
1907 JabberStream *js; | 1907 JabberStream *js; |
1908 JabberBuddy *jb = NULL; | 1908 JabberBuddy *jb = NULL; |
1909 PurpleConnection *gc = purple_account_get_connection(purple_buddy_get_account(b)); | 1909 PurpleConnection *gc = purple_account_get_connection(purple_buddy_get_account(b)); |
1910 | 1910 |
1911 if(!gc) | 1911 if(!gc) |
1912 return NULL; | 1912 return NULL; |
1913 | 1913 |
1914 js = gc->proto_data; | 1914 js = gc->proto_data; |
1915 if(js) | 1915 if(js) |
1918 if(!PURPLE_BUDDY_IS_ONLINE(b)) { | 1918 if(!PURPLE_BUDDY_IS_ONLINE(b)) { |
1919 if(jb && (jb->subscription & JABBER_SUB_PENDING || | 1919 if(jb && (jb->subscription & JABBER_SUB_PENDING || |
1920 !(jb->subscription & JABBER_SUB_TO))) | 1920 !(jb->subscription & JABBER_SUB_TO))) |
1921 return "not-authorized"; | 1921 return "not-authorized"; |
1922 } | 1922 } |
1923 | 1923 |
1924 if (jb) { | 1924 if (jb) { |
1925 JabberBuddyResource *jbr = jabber_buddy_find_resource(jb, NULL); | 1925 JabberBuddyResource *jbr = jabber_buddy_find_resource(jb, NULL); |
1926 if (jbr) { | 1926 if (jbr) { |
1927 const gchar *client_type = | 1927 const gchar *client_type = |
1928 jabber_resource_get_identity_category_type(jbr, "client"); | 1928 jabber_resource_get_identity_category_type(jbr, "client"); |