mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2025-01-25 14:51:31 -07:00
Revert "wip"
This reverts commit 91cc7af40adcc1cd0cdbd5888a926fb617c04b88.
This commit is contained in:
parent
453b97270f
commit
285cb74ca5
1 changed files with 7 additions and 9 deletions
|
@ -41,7 +41,7 @@
|
|||
</template>
|
||||
|
||||
<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 { Virtual } from 'swiper';
|
||||
import { Swiper, SwiperSlide } from 'swiper/vue';
|
||||
|
@ -93,19 +93,17 @@ definePageMetadata({
|
|||
|
||||
const dmsPagination = {
|
||||
endpoint: 'messaging/history' as const,
|
||||
limit: 20,
|
||||
params: computed(() => ({
|
||||
limit: 99,
|
||||
params: {
|
||||
group: false,
|
||||
})),
|
||||
offsetMode: true,
|
||||
},
|
||||
};
|
||||
const groupsPagination = {
|
||||
endpoint: 'messaging/history' as const,
|
||||
limit: 10,
|
||||
params: computed(() => ({
|
||||
limit: 30,
|
||||
params: {
|
||||
group: true,
|
||||
})),
|
||||
offsetMode: true,
|
||||
},
|
||||
};
|
||||
|
||||
function onMessage(message): void {
|
||||
|
|
Loading…
Reference in a new issue