Commit ee5e9f1f by HanSon

修复群组接收文件

1 parent 6bd084a0
......@@ -33,6 +33,10 @@ class ShareFactory
private function parse($xml)
{
if(starts_with($xml, '@')){
$xml = preg_replace('/(@\S+:\\n)/', '', $xml);
}
$array = (array)simplexml_load_string($xml, 'SimpleXMLElement', LIBXML_NOCDATA);
$this->xml = $info = (array)$array['appmsg'];
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!