diff libpurple/protocols/yahoo/util.c @ 28332:43200ff042ad

Fix sending /buzz on yahoo. Yahoo buzzes are '<ding>' sent as normal IMs. 'ding' is an unknown tag, and we were stripping unknown tags. So instead, send the tags we don't recognize as they are without stripping/changing them. ... or perhaps we could treat 'ding' as a known tag instead? Added test cases.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Tue, 06 Oct 2009 15:56:43 +0000
parents 1d2425f2e4ff
children 7b88cc6c3f7a
line wrap: on
line diff
--- a/libpurple/protocols/yahoo/util.c	Sun Oct 04 18:01:35 2009 +0000
+++ b/libpurple/protocols/yahoo/util.c	Tue Oct 06 15:56:43 2009 +0000
@@ -881,6 +881,9 @@
 						}
 						g_free(etag);
 					}
+				} else {
+					/* We don't know what the tag is. Send it unmodified. */
+					g_string_append(dest, tag);
 				}
 
 				i = j;