--- a/libpurple/server.c Thu Mar 01 20:38:21 2018 -0600
+++ b/libpurple/server.c Mon Mar 05 04:40:33 2018 -0300
@@ -790,7 +790,6 @@
const char *who, const char *message, GHashTable *data)
struct chat_invite_data *cid;
@@ -815,14 +814,16 @@
- g_snprintf(buf2, sizeof(buf2),
+ buf2 = g_strdup_printf( _("%s has invited %s to the chat room %s:\n%s"),
who, purple_account_get_username(account), name, message);
- g_snprintf(buf2, sizeof(buf2),
+ buf2 = g_strdup_printf( _("%s has invited %s to the chat room %s\n"),
who, purple_account_get_username(account), name);
@@ -831,6 +832,8 @@
PURPLE_DEFAULT_ACTION_NONE, account, who, NULL,
cid, G_CALLBACK(chat_invite_accept),
G_CALLBACK(chat_invite_reject));
else if (plugin_return > 0)