comparison src/protocols/msn/utils.c @ 10274:3016b1b32339

[gaim-migrate @ 11424] Don't allow sending oversized messages on MSN - they wouldn't get there, and the switchboard server would disconnect us. Also fix up the oversized message truncation which should have been truncating the messages anyway. Add support for sending strikethrough on MSN (not that anyone can actually enter strikethrough tags yet) And a slight change to the building of chat user status icons. committer: Tailor Script <tailor@pidgin.im>
author Stu Tomlinson <stu@nosnilmot.com>
date Sat, 27 Nov 2004 19:39:25 +0000
parents 9d839c9f6c2d
children 6932df31225f
comparison
equal deleted inserted replaced
10273:891141c68573 10274:3016b1b32339
207 else if (!g_ascii_strncasecmp(c + 1, "u>", 2)) 207 else if (!g_ascii_strncasecmp(c + 1, "u>", 2))
208 { 208 {
209 strcat(fonteffect, "U"); 209 strcat(fonteffect, "U");
210 c += 3; 210 c += 3;
211 } 211 }
212 else if (!g_ascii_strncasecmp(c + 1, "s>", 2))
213 {
214 strcat(fonteffect, "S");
215 c += 3;
216 }
212 else if (!g_ascii_strncasecmp(c + 1, "a href=\"", 8)) 217 else if (!g_ascii_strncasecmp(c + 1, "a href=\"", 8))
213 { 218 {
214 c += 9; 219 c += 9;
215 220
216 if (!g_ascii_strncasecmp(c, "mailto:", 7)) 221 if (!g_ascii_strncasecmp(c, "mailto:", 7))
217 c += 7; 222 c += 7;
218 223
219 while (g_ascii_strncasecmp(c, "\">", 2)) 224 while (g_ascii_strncasecmp(c, "\">", 2))
220 msg[retcount++] = *c++; 225 msg[retcount++] = *c++;