From ace2ee4eeccbcf0f09633f6c60dbedc39da565e7 Mon Sep 17 00:00:00 2001 From: Nils Adermann Date: Fri, 9 Jun 2006 23:46:39 +0000 Subject: This looks a bit like an ugly hack, I know :( But hopefully it will solve most of our encoding problems with jabber [Bug #1585] git-svn-id: file:///svn/phpbb/trunk@6034 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/functions_messenger.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'phpBB/includes/functions_messenger.php') diff --git a/phpBB/includes/functions_messenger.php b/phpBB/includes/functions_messenger.php index e4e035a9a4..7d1334dcc1 100644 --- a/phpBB/includes/functions_messenger.php +++ b/phpBB/includes/functions_messenger.php @@ -425,6 +425,7 @@ class messenger $this->jabber->username = $config['jab_username']; $this->jabber->password = $config['jab_password']; $this->jabber->resource = ($config['jab_resource']) ? $config['jab_resource'] : ''; + $this->jabber->encoding = $this->encoding; if (!$this->jabber->connect()) { @@ -441,7 +442,7 @@ class messenger foreach ($addresses as $address) { - $this->jabber->send_message($address, 'normal', NULL, array('body' => htmlentities($this->msg))); + $this->jabber->send_message($address, 'normal', NULL, array('body' => $this->msg)); } sleep(1); -- cgit v1.2.1