Fix {{currentSwipeId}} not returning first swipe
| @@ -254,7 +254,7 @@ function getCurrentSwipeId() { | ||
| 254 | 254 | // For swipe macro, we are accepting using the message that is currently being swiped |
| 255 | 255 | const mid = getLastMessageId({ exclude_swipe_in_propress: false }); |
| 256 | 256 | const swipeId = chat[mid]?.swipe_id; |
| 257 | 257 | return swipeId !== null ? swipeId + 1 : null; |
| 258 | 258 | } |
| 259 | 259 | |
| 260 | 260 | /** |