Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
Him188 authored Mar 30, 2024
1 parent 9190808 commit e78b847
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit e78b847

Please sign in to comment.