Authored by whb

修改消息

... ... @@ -196,11 +196,11 @@ class YHMIm_Relay
$queue->ack($envelope->getDeliveryTag());
return;
}
/* else if(isset($messageData['talk_id']) && isset($messageData['talk_id']))
else if(isset($messageData['talk_id']) && isset($messageData['talk_id']) && $messageData['from'] != 'user:0')
{
//不接受会话中的消息
//不接受普通用户会话中的消息
return;
}*/
}
$agreement = YHMIm_Agreement::factory($messageData);
$queueData = $agreement->getQueueData();
$queue->ack($envelope->getDeliveryTag());
... ...