mirror of
https://github.com/mamoe/mirai.git
synced 2025-04-24 20:43:33 +08:00
Apply suggestions from code review
This commit is contained in:
parent
919080871f
commit
e78b8474c2
@ -351,12 +351,12 @@ internal class GroupNotificationProcessor(
|
||||
val fromUser = from?.findUser()
|
||||
val targetUser = target?.findUser()
|
||||
|
||||
if(fromUser == null || targetUser == null){
|
||||
if (fromUser == null || targetUser == null) {
|
||||
markNotConsumed()
|
||||
logger.debug {
|
||||
"Cannot find from or target in Transformers528 0x14 template\ntemplId=${grayTip.templId}\nPermList=${grayTip.msgTemplParam.structureToString()}"
|
||||
}
|
||||
}else{
|
||||
} else {
|
||||
collected += NudgeEvent(
|
||||
from = fromUser,
|
||||
target = targetUser,
|
||||
|
Loading…
Reference in New Issue
Block a user