receive_raw_message -> receiveRawMessage
This commit is contained in:
parent
80176b0b2c
commit
764e0ab962
|
@ -117,7 +117,7 @@ abstract class ImPlugin extends Plugin
|
|||
*
|
||||
* @return boolean true if processing completed, false for temporary failures
|
||||
*/
|
||||
abstract function receive_raw_message($data);
|
||||
abstract function receiveRawMessage($data);
|
||||
|
||||
/**
|
||||
* get the screenname of the daemon that sends and receives message for this service
|
||||
|
|
|
@ -37,6 +37,6 @@ class ImReceiverQueueHandler extends QueueHandler
|
|||
*/
|
||||
function handle($data)
|
||||
{
|
||||
return $this->plugin->receive_raw_message($data);
|
||||
return $this->plugin->receiveRawMessage($data);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -131,7 +131,7 @@ class AimPlugin extends ImPlugin
|
|||
*
|
||||
* @return true if processing completed, false if message should be reprocessed
|
||||
*/
|
||||
function receive_raw_message($message)
|
||||
function receiveRawMessage($message)
|
||||
{
|
||||
$info=Aim::getMessageInfo($message);
|
||||
$from = $info['from'];
|
||||
|
|
|
@ -203,7 +203,7 @@ class IrcPlugin extends ImPlugin {
|
|||
*
|
||||
* @return boolean true if processing completed, false if message should be reprocessed
|
||||
*/
|
||||
public function receive_raw_message($data) {
|
||||
public function receiveRawMessage($data) {
|
||||
if (strpos($data['source'], '#') === 0) {
|
||||
$message = $data['message'];
|
||||
$parts = explode(' ', $message, 2);
|
||||
|
|
|
@ -172,7 +172,7 @@ class MsnPlugin extends ImPlugin {
|
|||
* @param array $data Data
|
||||
* @return true if processing completed, false if message should be reprocessed
|
||||
*/
|
||||
public function receive_raw_message($data) {
|
||||
public function receiveRawMessage($data) {
|
||||
$this->handle_incoming($data['sender'], $data['message']);
|
||||
return true;
|
||||
}
|
||||
|
|
|
@ -364,7 +364,7 @@ class XmppPlugin extends ImPlugin
|
|||
return $html . ' ' . $entry;
|
||||
}
|
||||
|
||||
function receive_raw_message($pl)
|
||||
function receiveRawMessage($pl)
|
||||
{
|
||||
$from = $this->normalize($pl['from']);
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user