libpurple/protocols/jabber/message.c

changeset 35698
302a7cb4c1ab
parent 35501
602747bb4af9
child 35732
e5707ffa8f29
--- a/libpurple/protocols/jabber/message.c	Thu Mar 27 18:18:58 2014 +0100
+++ b/libpurple/protocols/jabber/message.c	Sat Mar 29 16:14:34 2014 +0100
@@ -824,6 +824,7 @@
 static GList *
 jabber_message_xhtml_find_smileys(const char *xhtml)
 {
+#if 0
 	GList *smileys = purple_smileys_get_all();
 	GList *found_smileys = NULL;
 
@@ -844,6 +845,9 @@
 	}
 
 	return found_smileys;
+#else
+	return NULL;
+#endif
 }
 
 static gchar *
@@ -943,6 +947,7 @@
 			GList *valid_smileys = NULL;
 			gboolean has_too_large_smiley = FALSE;
 
+#if 0
 			for (iterator = found_smileys; iterator ;
 				iterator = g_list_next(iterator)) {
 				PurpleSmiley *smiley = (PurpleSmiley *) iterator->data;
@@ -975,6 +980,7 @@
 							JABBER_DATA_MAX_SIZE);
 				}
 			}
+#endif
 
 			if (has_too_large_smiley) {
 				purple_conversation_write(conv, NULL,

mercurial