| 3072 PURPLE_BLIST_NODE_FLAG_NO_SAVE); |
3072 PURPLE_BLIST_NODE_FLAG_NO_SAVE); |
| 3073 g_object_set_data_full(G_OBJECT(gtkconv->imhtml), "transient_chat", |
3073 g_object_set_data_full(G_OBJECT(gtkconv->imhtml), "transient_chat", |
| 3074 chat, (GDestroyNotify)purple_blist_remove_chat); |
3074 chat, (GDestroyNotify)purple_blist_remove_chat); |
| 3075 } |
3075 } |
| 3076 } else { |
3076 } else { |
| |
3077 if (!purple_account_is_connected(conv->account)) |
| |
3078 return FALSE; |
| |
3079 |
| 3077 buddy = purple_find_buddy(conv->account, conv->name); |
3080 buddy = purple_find_buddy(conv->account, conv->name); |
| 3078 |
3081 |
| 3079 /* gotta remain bug-compatible :( libpurple < 2.0.2 didn't handle |
3082 /* gotta remain bug-compatible :( libpurple < 2.0.2 didn't handle |
| 3080 * removing "isolated" buddy nodes well */ |
3083 * removing "isolated" buddy nodes well */ |
| 3081 if (purple_version_check(2, 0, 2) == NULL) { |
3084 if (purple_version_check(2, 0, 2) == NULL) { |