forked from GNUsocial/gnu-social
strtolower jids for comparison
darcs-hash:20080830052143-84dde-81ba3f1e687605d23e9bdc2c3672ac7ae36f9b60.gz
This commit is contained in:
@@ -61,6 +61,9 @@ class XmppQueueHandler extends QueueHandler {
|
||||
}
|
||||
|
||||
function forward_message(&$pl) {
|
||||
if ($pl['type'] != 'chat') {
|
||||
return;
|
||||
}
|
||||
$listener = $this->listener();
|
||||
$this->log(LOG_INFO, 'Forwarding message from ' . $pl['from'] . ' to ' . $listener);
|
||||
$this->conn->message($this->listener(), $pl['body'], 'chat', NULL, $this->ofrom($pl['from']));
|
||||
|
Reference in New Issue
Block a user