Skip to content

Commit

Permalink
Fix flash image tips
Browse files Browse the repository at this point in the history
  • Loading branch information
whitechi73 committed Jan 29, 2024
1 parent b524d06 commit e6b03ef
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/src/main/java/moe/qwq/miko/internals/AioListener.kt
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,9 @@ object AioListener: IKernelMsgListener {
}

private suspend fun onFlashPic(record: MsgRecord, picElement: PicElement) {
if (picElement.isFlashPic == false) return
if (picElement.isFlashPic == null || picElement.isFlashPic == false) return
if (picElement.original) return
//if (picElement.picType != 0) return
val peer = if (record.chatType == MsgConstant.KCHATTYPEGROUP)
record.peerUin
else record.senderUin
Expand Down

0 comments on commit e6b03ef

Please sign in to comment.