Sat, 08 Oct 2011 07:44:40 +0000
Only update conversation features if they've actually changed. This
prevents an infinite loop through the 'conversation-updated' signal.
Though it can probably be fixed a bit better, since I think it means
pidgin_conv_update_fields gets called twice.
| pidgin/gtkconv.c | file | annotate | diff | comparison | revisions |
--- a/pidgin/gtkconv.c Sat Oct 08 07:35:35 2011 +0000 +++ b/pidgin/gtkconv.c Sat Oct 08 07:44:40 2011 +0000 @@ -6962,7 +6962,8 @@ buttons = GTK_IMHTML_SMILEY | GTK_IMHTML_IMAGE; } - if (!(prpl_info->options & OPT_PROTO_IM_IMAGE)) { + if (!(prpl_info->options & OPT_PROTO_IM_IMAGE) + && !(features & PURPLE_CONNECTION_NO_IMAGES)) { features |= PURPLE_CONNECTION_NO_IMAGES; purple_conversation_set_features(conv, features); }