Remove unnecessary swipe id check

This commit is contained in:
Wolfsblvt 2024-03-27 23:12:40 +01:00
parent 11b3162aa4
commit b8c6e6c85c
1 changed files with 1 additions and 1 deletions

View File

@ -2020,7 +2020,7 @@ function addOneMessage(mes, { type = 'normal', insertAfter = null, scroll = true
let params = {
mesId: forceId ?? chat.length - 1,
swipeId: mes.swipes?.indexOf(mes.mes) ?? mes.swipe_id ?? 0,
swipeId: mes.swipe_id ?? 0,
characterName: mes.name,
isUser: mes.is_user,
avatarImg: avatarImg,