libpurple/server.c

changeset 40804
5496016b3c00
parent 40765
a5381c20e802
child 40853
d3518ff99fa7
equal deleted inserted replaced
40803:0e11ce1049b2 40804:5496016b3c00
308 PurpleProtocol *protocol; 308 PurpleProtocol *protocol;
309 PurpleAttentionType* attn; 309 PurpleAttentionType* attn;
310 310
311 g_return_val_if_fail(account != NULL, NULL); 311 g_return_val_if_fail(account != NULL, NULL);
312 312
313 protocol = purple_protocols_find(purple_account_get_protocol_id(account)); 313 protocol = purple_account_get_protocol(account);
314 314
315 /* Lookup the attention type in the protocol's attention_types list, if any. */ 315 /* Lookup the attention type in the protocol's attention_types list, if any. */
316 if (PURPLE_IS_PROTOCOL_ATTENTION(protocol)) { 316 if (PURPLE_IS_PROTOCOL_ATTENTION(protocol)) {
317 GList *attention_types; 317 GList *attention_types;
318 318

mercurial