--- a/libpurple/protocols/irc/irc.c Fri Aug 30 15:27:52 2013 +0530 +++ b/libpurple/protocols/irc/irc.c Sat Aug 31 02:20:52 2013 +0530 @@ -915,10 +915,11 @@ irc_cmd_ping(irc, NULL, NULL, NULL); } -static gsize -irc_get_max_message_size(PurpleConnection *gc) +static gssize +irc_get_max_message_size(PurpleConversation *conv) { - /* got from pidgin-otr */ + /* TODO: this static value is got from pidgin-otr, but it depends on + * some factors, for example IRC channel name. */ return 417; }