Mercurial > pidgin.yaz
changeset 10958:90d22e1b68df
[gaim-migrate @ 12759]
This is part of Levi's patch that I'd left off. I was considering removing
gaim_conv_chat_remove_users because it isn't used anywhere, but I
figured it was better to leave it.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Wed, 01 Jun 2005 00:26:40 +0000 |
parents | cc49b2c275ad |
children | b6cafdeda2a8 |
files | src/conversation.c |
diffstat | 1 files changed, 9 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/src/conversation.c Wed Jun 01 00:24:09 2005 +0000 +++ b/src/conversation.c Wed Jun 01 00:26:40 2005 +0000 @@ -2140,11 +2140,15 @@ *tmp = '\0'; - for (l = users, i = 0; i < max; i++, l = l->next) { - g_strlcat(tmp, (char *)l->data, sizeof(tmp)); - - if (i < max - 1) - g_strlcat(tmp, ", ", sizeof(tmp)); + for (l = users, i = 0; i < max; i++, l = l->next) + { + if (!gaim_conv_chat_is_user_ignored(chat, (char *)l->data)) + { + g_strlcat(tmp, (char *)l->data, sizeof(tmp)); + + if (i < max - 1) + g_strlcat(tmp, ", ", sizeof(tmp)); + } } if (size > 10)