| 826 purple_debug_error("msn", "Unable to decode Ink from Base64 format.\n"); |
826 purple_debug_error("msn", "Unable to decode Ink from Base64 format.\n"); |
| 827 return; |
827 return; |
| 828 } |
828 } |
| 829 |
829 |
| 830 imgid = purple_imgstore_add_with_id(image_data, image_len, NULL); |
830 imgid = purple_imgstore_add_with_id(image_data, image_len, NULL); |
| 831 image_msg = g_strdup_printf("<IMG ID='%d'>", imgid); |
831 image_msg = g_strdup_printf("<IMG SRC='" PURPLE_STORED_IMAGE_PROTOCOL "%d'>", |
| |
832 imgid); |
| 832 |
833 |
| 833 if (swboard->current_users > 1 || |
834 if (swboard->current_users > 1 || |
| 834 ((swboard->conv != NULL) && |
835 ((swboard->conv != NULL) && |
| 835 purple_conversation_get_type(swboard->conv) == PURPLE_CONV_TYPE_CHAT)) |
836 purple_conversation_get_type(swboard->conv) == PURPLE_CONV_TYPE_CHAT)) |
| 836 serv_got_chat_in(gc, swboard->chat_id, passport, 0, image_msg, |
837 serv_got_chat_in(gc, swboard->chat_id, passport, 0, image_msg, |