Remove unnecessary swipe id check
This commit is contained in:
parent
11b3162aa4
commit
b8c6e6c85c
|
@ -2020,7 +2020,7 @@ function addOneMessage(mes, { type = 'normal', insertAfter = null, scroll = true
|
||||||
|
|
||||||
let params = {
|
let params = {
|
||||||
mesId: forceId ?? chat.length - 1,
|
mesId: forceId ?? chat.length - 1,
|
||||||
swipeId: mes.swipes?.indexOf(mes.mes) ?? mes.swipe_id ?? 0,
|
swipeId: mes.swipe_id ?? 0,
|
||||||
characterName: mes.name,
|
characterName: mes.name,
|
||||||
isUser: mes.is_user,
|
isUser: mes.is_user,
|
||||||
avatarImg: avatarImg,
|
avatarImg: avatarImg,
|
||||||
|
|
Loading…
Reference in New Issue