Scroll down on swipe gen cancellation

This commit is contained in:
Cohee
2025-11-23 16:16:02 +02:00
parent 02ef1a7648
commit 4b77cb8583
+1 -1
View File
@@ -9325,7 +9325,7 @@ export async function swipe(_event, direction, { source, repeated, message = cha
if (chat[mesId]['swipe_id'] !== clampedId) {
chat[mesId]['swipe_id'] = clampedId;
syncSwipeToMes(mesId);
addOneMessage(chat[mesId], { type: 'swipe', forceId: mesId, scroll: false });
addOneMessage(chat[mesId], { type: 'swipe', forceId: mesId, scroll: true });
}
await updateSwipeCounter(mesId);