]> git.mxchange.org Git - quix0rs-gnu-social.git/commit
Fix ticket #2208: regression in XMPP sending when server != host
authorBrion Vibber <brion@pobox.com>
Mon, 8 Mar 2010 20:19:06 +0000 (12:19 -0800)
committerBrion Vibber <brion@pobox.com>
Mon, 8 Mar 2010 20:19:06 +0000 (12:19 -0800)
commit217ad420ac8085fe620235dfc47bea27e4ac75dc
tree2f3b6934d95704ed9972de267816309d8ebfed19
parenta77efb2447abe75d3b9902410bced61b76377de3
Fix ticket #2208: regression in XMPP sending when server != host

The upstream class sets $this->basejid with host unconditionally, which wasn't previously an issue as the fulljid would always be filled in by the server at connect time before sending messages. With the new queued messaging, we need to make sure we've filled out $this->fulljid correctly without making a connection.
Now using $server if provided to build $this->basejid and $this->fulljid in the queued XMPP proxy class, so queued messages are sent correctly.
lib/queued_xmpp.php