libpurple/protocols/irc/irc.c

branch
soc.2013.gobjectification
changeset 34904
dee62fd8249d
parent 34894
df5ed3731148
parent 34321
f60fcab02bd4
child 34932
1b74e5c63144
child 36621
3edd164b6a1a
--- 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;
 }
 

mercurial