comparison libpurple/protocols/jabber/google/gmail.c @ 32672:3828a61c44da

A boring and large patch so I can merge heads.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Fri, 23 Dec 2011 08:21:58 +0000
parents 34f586bffe4e
children
comparison
equal deleted inserted replaced
32671:0e69949b3e61 32672:3828a61c44da
148 { 148 {
149 xmlnode *query; 149 xmlnode *query;
150 JabberIq *iq; 150 JabberIq *iq;
151 151
152 /* bail if the user isn't interested */ 152 /* bail if the user isn't interested */
153 if (!purple_account_get_check_mail(js->gc->account)) 153 if (!purple_account_get_check_mail(purple_connection_get_account(js->gc)))
154 return; 154 return;
155 155
156 /* Is this an initial incoming mail notification? If so, send a request for more info */ 156 /* Is this an initial incoming mail notification? If so, send a request for more info */
157 if (type != JABBER_IQ_SET) 157 if (type != JABBER_IQ_SET)
158 return; 158 return;