view libpurple/purple-client.h @ 17586:ba1478c35cc0

If a message is known to be too long to send to a chat or IM, and it's an HTML message, strip the HTML, re-encode, and try again. The chat part is particularly useful given the short maximum message length and the fact that purple_markup_linkify() will have linkified long links to being twice the number of characters. The IM part is not triggerred in my experience because MAXMSGLEN seems to be far above the number of characters allowed; perhaps it is a number of bytes, not characters?
author Evan Schoenberg <evan.s@dreskin.net>
date Sun, 10 Jun 2007 20:36:24 +0000
parents 32c366eeeb99
children
line wrap: on
line source

#ifndef _PURPLE_CLIENT_H_INCLUDED_
#define _PURPLE_CLIENT_H_INCLUDED_

#include <glib.h>
#include "purple-client-bindings.h"

G_BEGIN_DECLS

void purple_init(void);

G_END_DECLS

#endif