comparison libpurple/protocols/jabber/google/gmail.c @ 32767:2ec94166be43

On the way to hiding the PurpleConnection struct. * Added purple_connection_get_flags() and purple_connection_set_flags() * Use purple_connection_ accessor functions.
author andrew.victor@mxit.com
date Tue, 18 Oct 2011 18:47:48 +0000
parents 34f586bffe4e
children
comparison
equal deleted inserted replaced
32766:ea2b621fd3ba 32767:2ec94166be43
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;