comparison libpurple/protocols/oscar/libicq.c @ 29579:bddc2c8e8b98

Current versions of ICQ will happily scale down large icons to 100x100 (and in some places will scale up small icons). So we should stop scaling-on-send. Any icon between 0x0 and 100x100 is allowed, just like with AIM. Max file size still seems to be 7168.
author Mark Doliner <mark@kingant.net>
date Thu, 11 Mar 2010 06:58:33 +0000
parents a0fb6798d87c
children 2a436e0ce977
comparison
equal deleted inserted replaced
29578:8b9359833987 29579:bddc2c8e8b98
39 static PurplePluginProtocolInfo prpl_info = 39 static PurplePluginProtocolInfo prpl_info =
40 { 40 {
41 OPT_PROTO_MAIL_CHECK | OPT_PROTO_IM_IMAGE, 41 OPT_PROTO_MAIL_CHECK | OPT_PROTO_IM_IMAGE,
42 NULL, /* user_splits */ 42 NULL, /* user_splits */
43 NULL, /* protocol_options */ 43 NULL, /* protocol_options */
44 {"gif,jpeg,bmp,ico", 48, 48, 52, 64, 7168, 44 {"gif,jpeg,bmp,ico", 0, 0, 100, 100, 7168, PURPLE_ICON_SCALE_DISPLAY}, /* icon_spec */
45 PURPLE_ICON_SCALE_SEND | PURPLE_ICON_SCALE_DISPLAY}, /* icon_spec */
46 oscar_list_icon_icq, /* list_icon */ 45 oscar_list_icon_icq, /* list_icon */
47 oscar_list_emblem, /* list_emblems */ 46 oscar_list_emblem, /* list_emblems */
48 oscar_status_text, /* status_text */ 47 oscar_status_text, /* status_text */
49 oscar_tooltip_text, /* tooltip_text */ 48 oscar_tooltip_text, /* tooltip_text */
50 oscar_status_types, /* status_types */ 49 oscar_status_types, /* status_types */