src/whatsprot.class.php
public function sendNextMessage()
    {
        if (count($this->outQueue) > 0) {
            $msgnode = array_shift($this->outQueue);
            $msgnode->refreshTimes();
            $this->lastId = $msgnode->getAttribute('id');
            $this->sendNode($msgnode);
        } else {
            $this->lastId = false;
        }
    }
public function sendNextMessage()
    {
        if (count($this->outQueue) > 0) {
            $msgnode = array_shift($this->outQueue);
            $msgnode->refreshTimes();
            $this->lastId = $msgnode->getAttribute('id');
            $this->sendNode($msgnode);
        } else {
            $this->lastId = false;
        }
    }
public function sendNextMessage ( ) { if ( count ( $ this -> outQueue ) > 0 ) { $ msgnode = array_shift ( $ this -> outQueue ) ; $ msgnode -> refreshTimes ( ) ; $ this -> lastId = $ msgnode -> getAttribute ( 'id' ) ; $ this -> sendNode ( $ msgnode ) ; } else { $ this -> lastId = false ; } }
Send the next message.
Send the next message .