Commit f1169047 authored by Him188's avatar Him188

Fix new member joining, close #172

parent d8a52918
...@@ -84,7 +84,7 @@ internal class OnlinePush { ...@@ -84,7 +84,7 @@ internal class OnlinePush {
) )
} }
val group = bot.getGroup(pbPushMsg.msg.msgHead.groupInfo!!.groupCode) val group = bot.getGroupOrNull(pbPushMsg.msg.msgHead.groupInfo!!.groupCode) ?: return null // 机器人还正在进群
val sender = group[pbPushMsg.msg.msgHead.fromUin] as MemberImpl val sender = group[pbPushMsg.msg.msgHead.fromUin] as MemberImpl
val name = extraInfo?.groupCard?.run { val name = extraInfo?.groupCard?.run {
try { try {
......
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