From c8fc470e4eaeb1f9e939a7568097e36669933a35 Mon Sep 17 00:00:00 2001 From: ThatOneCalculator Date: Thu, 19 Jan 2023 16:33:14 -0800 Subject: [PATCH] Revert "hopefully this fixed chat updates" This reverts commit bbbfbc1061fbced2c8ccf4879597305ab0d89157. --- packages/backend/src/misc/reaction-lib.ts | 2 +- .../client/src/components/MkPagination.vue | 622 +++++++++--------- packages/client/src/pages/messaging/index.vue | 11 +- 3 files changed, 311 insertions(+), 324 deletions(-) diff --git a/packages/backend/src/misc/reaction-lib.ts b/packages/backend/src/misc/reaction-lib.ts index 5fe404b880..c0a5e8e2fb 100644 --- a/packages/backend/src/misc/reaction-lib.ts +++ b/packages/backend/src/misc/reaction-lib.ts @@ -68,7 +68,7 @@ export async function toDbReaction( const match = emojiRegex.exec(reaction); if (match) { const unicode = match[0]; - return unicode.match('\u200d') ? unicode : unicode.replace(/\ufe0f/g, ''); + return unicode.match("\u200d") ? unicode : unicode.replace(/\ufe0f/g, ""); } const custom = reaction.match(/^:([\w+-]+)(?:@\.)?:$/); diff --git a/packages/client/src/components/MkPagination.vue b/packages/client/src/components/MkPagination.vue index 67634b8ec8..5b71598c0b 100644 --- a/packages/client/src/components/MkPagination.vue +++ b/packages/client/src/components/MkPagination.vue @@ -1,13 +1,13 @@ + - + + + diff --git a/packages/client/src/pages/messaging/index.vue b/packages/client/src/pages/messaging/index.vue index 3798ec6f87..af2baf8525 100644 --- a/packages/client/src/pages/messaging/index.vue +++ b/packages/client/src/pages/messaging/index.vue @@ -37,7 +37,7 @@