diff options
author | sualko <klaus@jsxc.org> | 2018-12-05 12:24:52 +0300 |
---|---|---|
committer | sualko <klaus@jsxc.org> | 2018-12-05 12:35:54 +0300 |
commit | f54bdcec78841770ec391e3b33f33e762169ad94 (patch) | |
tree | d32bf1630bbf3e58b5ba9ab1c0184a4e14601054 /build/lib/stanzahandlers/message.php | |
parent | d71398a68326b27eeebc96b004fb227440be826c (diff) |
build v3.4.3v3.4.3
Diffstat (limited to 'build/lib/stanzahandlers/message.php')
-rw-r--r-- | build/lib/stanzahandlers/message.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/build/lib/stanzahandlers/message.php b/build/lib/stanzahandlers/message.php index dac030f..42d41c9 100644 --- a/build/lib/stanzahandlers/message.php +++ b/build/lib/stanzahandlers/message.php @@ -67,11 +67,10 @@ class Message extends StanzaHandler */ public function handle(array $stanza) { + // Parse the username from the XML stanza to a NC userid $to = $this->getAttribute($stanza, 'to'); $pos = strrpos($to, '@'); - $this->to = substr($to, 0, $pos); - $this->to = Application::convertToRealUID(Application::deSanitize($this->to)); if (!$this->userProvider->hasUserByUID($this->to)) { |