Revert "wip"

This reverts commit 91cc7af40a.
This commit is contained in:
ThatOneCalculator 2023-01-19 16:30:12 -08:00
parent 47db1e1c47
commit 76dab02a9d
No known key found for this signature in database
GPG Key ID: 8703CACD01000000
1 changed files with 7 additions and 9 deletions

View File

@ -41,7 +41,7 @@
</template> </template>
<script lang="ts" setup> <script lang="ts" setup>
import { markRaw, onMounted, onUnmounted, watch, computed } from 'vue'; import { markRaw, onMounted, onUnmounted, watch } from 'vue';
import * as Acct from 'calckey-js/built/acct'; import * as Acct from 'calckey-js/built/acct';
import { Virtual } from 'swiper'; import { Virtual } from 'swiper';
import { Swiper, SwiperSlide } from 'swiper/vue'; import { Swiper, SwiperSlide } from 'swiper/vue';
@ -93,19 +93,17 @@ definePageMetadata({
const dmsPagination = { const dmsPagination = {
endpoint: 'messaging/history' as const, endpoint: 'messaging/history' as const,
limit: 20, limit: 99,
params: computed(() => ({ params: {
group: false, group: false,
})), },
offsetMode: true,
}; };
const groupsPagination = { const groupsPagination = {
endpoint: 'messaging/history' as const, endpoint: 'messaging/history' as const,
limit: 10, limit: 30,
params: computed(() => ({ params: {
group: true, group: true,
})), },
offsetMode: true,
}; };
function onMessage(message): void { function onMessage(message): void {