Commit 4e1523c6 by HanSon

增加 被邀请

1 parent d4a8ea8b
......@@ -29,7 +29,10 @@ class GroupChange extends Message implements MessageInterface
public function make()
{
if(str_contains($this->msg['Content'], '加入了群聊')){
if(str_contains($this->msg['Content'], '邀请你')){
print_r($this->msg);
$this->action = 'INVITE';
}elseif(str_contains($this->msg['Content'], '加入了群聊')){
$this->action = 'ADD';
Console::debug("检测到 {$this->from['NickName']} 有新成员,正在刷新群成员列表...");
(new ContactFactory())->makeContactList();
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!