--- a/libpurple/server.c Mon Mar 05 03:44:04 2018 -0300
+++ b/libpurple/server.c Tue Mar 06 06:14:26 2018 +0000
@@ -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)