Merge branch 'staging' into pin-styles

This commit is contained in:
Cohee
2025-05-04 23:06:19 +03:00
5 changed files with 90 additions and 28 deletions

View File

@@ -9154,7 +9154,7 @@ function formatSwipeCounter(current, total) {
* @param {string} [params.source] The source of the swipe event.
* @param {boolean} [params.repeated] Is the swipe event repeated.
*/
function swipe_left(_event, { source, repeated } = {}) {
export function swipe_left(_event, { source, repeated } = {}) {
if (chat.length - 1 === Number(this_edit_mes_id)) {
closeMessageEditor();
}
@@ -9302,7 +9302,7 @@ function swipe_left(_event, { source, repeated } = {}) {
* @param {string} [params.source] The source of the swipe event.
* @param {boolean} [params.repeated] Is the swipe event repeated.
*/
function swipe_right(_event, { source, repeated } = {}) {
export function swipe_right(_event, { source, repeated } = {}) {
if (chat.length - 1 === Number(this_edit_mes_id)) {
closeMessageEditor();
}