Mercurial > pidgin.yaz
view libpurple/protocols/jabber/Makefile.am @ 17814:d495103dcf88
Two questions:
1. XMPP <status> messages inside <presence> broadcasts should be
plaintext and not HTML, right?
2. 'stripped = purple_markup_strip_html(str)' is basically the same as
'purple_markup_html_to_xhtml(str, NULL, &stripped)', right?
This fixes a bug Emily found where setting an XMPP status message with
an embedded link would drop the link completely. For example, in
Pidgin you set your away message and insert a link so that the message
body is <a href="http://www.example.com/">Example</a>. When we set
this message for an XMPP account it just strips the HTML and sets the
message to "Example". This change causes the message to be
"Example (http://www.example.com/)". It's the same thing we do when
displaying links in tooltips in the blist.
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Sun, 10 Jun 2007 15:58:23 +0000 |
parents | 6f54b1e84610 |
children | 5c1ed6296b56 315151da0dc6 |
line wrap: on
line source
EXTRA_DIST = \ Makefile.mingw \ win32/posix.uname.c \ win32/utsname.h pkgdir = $(libdir)/purple-$(PURPLE_MAJOR_VERSION) JABBERSOURCES = auth.c \ auth.h \ buddy.c \ buddy.h \ chat.c \ chat.h \ disco.c \ disco.h \ google.c \ google.h \ iq.c \ iq.h \ jabber.c \ jabber.h \ jutil.c \ jutil.h \ message.c \ message.h \ oob.c \ oob.h \ parser.c \ parser.h \ presence.c \ presence.h \ roster.c \ roster.h \ si.c \ si.h \ xdata.c \ xdata.h AM_CFLAGS = $(st) libxmpp_la_LDFLAGS = -module -avoid-version if STATIC_JABBER st = -DPURPLE_STATIC_PRPL noinst_LIBRARIES = libjabber.a pkg_LTLIBRARIES = libjabber_a_SOURCES = $(JABBERSOURCES) libxmpp.c libjabber_a_CFLAGS = $(AM_CFLAGS) else st = pkg_LTLIBRARIES = libjabber.la libxmpp.la noinst_LIBRARIES = libjabber_la_SOURCES = $(JABBERSOURCES) libjabber_la_LIBADD = $(GLIB_LIBS) $(SASL_LIBS) $(LIBXML_LIBS) libxmpp_la_SOURCES = libxmpp.c libxmpp_la_LIBADD = libjabber.la endif AM_CPPFLAGS = \ -I$(top_srcdir)/libpurple \ -I$(top_builddir)/libpurple \ $(DEBUG_CFLAGS) \ $(GLIB_CFLAGS) \ $(LIBXML_CFLAGS)