Mercurial > pidgin
comparison libpurple/prpl.c @ 29311:ad119b77f941
Restore message flags for attention messages...
author | Marcus Lundblad <ml@update.uu.se> |
---|---|
date | Mon, 16 Nov 2009 20:49:04 +0000 |
parents | 9198a5d39c5c |
children | 163f6c3cbdd9 |
comparison
equal
deleted
inserted
replaced
29310:9198a5d39c5c | 29311:ad119b77f941 |
---|---|
469 mtime = time(NULL); | 469 mtime = time(NULL); |
470 | 470 |
471 attn = purple_get_attention_type_from_code(gc->account, type_code); | 471 attn = purple_get_attention_type_from_code(gc->account, type_code); |
472 | 472 |
473 /* PURPLE_MESSAGE_NOTIFY is for attention messages. */ | 473 /* PURPLE_MESSAGE_NOTIFY is for attention messages. */ |
474 flags = PURPLE_MESSAGE_SYSTEM; | 474 flags = PURPLE_MESSAGE_SYSTEM | PURPLE_MESSAGE_NOTIFY | PURPLE_MESSAGE_RECV; |
475 | 475 |
476 /* TODO: if (attn->icon_name) is non-null, use it to lookup an emoticon and display | 476 /* TODO: if (attn->icon_name) is non-null, use it to lookup an emoticon and display |
477 * it next to the attention command. And if it is null, display a generic icon. */ | 477 * it next to the attention command. And if it is null, display a generic icon. */ |
478 | 478 |
479 if ((buddy = purple_find_buddy(purple_connection_get_account(gc), who)) != NULL) | 479 if ((buddy = purple_find_buddy(purple_connection_get_account(gc), who)) != NULL) |