unmk2 / jaxl

Automatically exported from code.google.com/p/jaxl
GNU General Public License v3.0
0 stars 0 forks source link

How to remove dependency from $this->status variable for setting initial status #2

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
In version 1.0.1 and 1.0.2 of JAXL, sendStatus() method is called
internally for setting initial status. sendStatus() uses $this->status
variable to set the initial status.

How can a developer take control of setting an initial custom status and
remove dependency from $this->status variable?

Original issue reported on code.google.com by mailsfor...@gmail.com on 13 Jan 2009 at 9:06

GoogleCodeExporter commented 9 years ago
Added another method setStatus() in xmpp.class.php which can now be extended in
jaxl.class.php and used to set custom initial status messages without using
$this->status.

See updated xmpp.class.php and jaxl.class.php. Also now download the latest 
achieve
i.e. version 1.0.3

Original comment by mailsfor...@gmail.com on 13 Jan 2009 at 9:24