git.gnu.io has moved to IP address 209.51.188.249 -- please double check where you are logging in.

Commit 764e0ab9 authored by Craig Andrews's avatar Craig Andrews

receive_raw_message -> receiveRawMessage

parent 80176b0b
...@@ -117,7 +117,7 @@ abstract class ImPlugin extends Plugin ...@@ -117,7 +117,7 @@ abstract class ImPlugin extends Plugin
* *
* @return boolean true if processing completed, false for temporary failures * @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 * get the screenname of the daemon that sends and receives message for this service
......
...@@ -37,6 +37,6 @@ class ImReceiverQueueHandler extends QueueHandler ...@@ -37,6 +37,6 @@ class ImReceiverQueueHandler extends QueueHandler
*/ */
function handle($data) function handle($data)
{ {
return $this->plugin->receive_raw_message($data); return $this->plugin->receiveRawMessage($data);
} }
} }
...@@ -131,7 +131,7 @@ class AimPlugin extends ImPlugin ...@@ -131,7 +131,7 @@ class AimPlugin extends ImPlugin
* *
* @return true if processing completed, false if message should be reprocessed * @return true if processing completed, false if message should be reprocessed
*/ */
function receive_raw_message($message) function receiveRawMessage($message)
{ {
$info=Aim::getMessageInfo($message); $info=Aim::getMessageInfo($message);
$from = $info['from']; $from = $info['from'];
......
...@@ -203,7 +203,7 @@ class IrcPlugin extends ImPlugin { ...@@ -203,7 +203,7 @@ class IrcPlugin extends ImPlugin {
* *
* @return boolean true if processing completed, false if message should be reprocessed * @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) { if (strpos($data['source'], '#') === 0) {
$message = $data['message']; $message = $data['message'];
$parts = explode(' ', $message, 2); $parts = explode(' ', $message, 2);
......
...@@ -172,7 +172,7 @@ class MsnPlugin extends ImPlugin { ...@@ -172,7 +172,7 @@ class MsnPlugin extends ImPlugin {
* @param array $data Data * @param array $data Data
* @return true if processing completed, false if message should be reprocessed * @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']); $this->handle_incoming($data['sender'], $data['message']);
return true; return true;
} }
......
...@@ -364,7 +364,7 @@ class XmppPlugin extends ImPlugin ...@@ -364,7 +364,7 @@ class XmppPlugin extends ImPlugin
return $html . ' ' . $entry; return $html . ' ' . $entry;
} }
function receive_raw_message($pl) function receiveRawMessage($pl)
{ {
$from = $this->normalize($pl['from']); $from = $this->normalize($pl['from']);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment