mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-22 20:23:49 +01:00
?
This commit is contained in:
parent
2769e7dc8c
commit
0d5a5fb136
@ -41,9 +41,9 @@
|
||||
<script lang="ts" setup>
|
||||
import { defineAsyncComponent, defineComponent, inject, markRaw, onMounted, onUnmounted, watch } from 'vue';
|
||||
import * as Acct from 'misskey-js/built/acct';
|
||||
import MkButton from '@/components/MkButton.vue';
|
||||
import { Virtual } from 'swiper';
|
||||
import { Swiper, SwiperSlide } from 'swiper/vue';
|
||||
import MkButton from '@/components/MkButton.vue';
|
||||
import MkChatPreview from '@/components/MkChatPreview.vue';
|
||||
import MkPagination from '@/components/MkPagination.vue';
|
||||
import * as os from '@/os';
|
||||
@ -81,23 +81,6 @@ const groupsPagination = {
|
||||
},
|
||||
};
|
||||
|
||||
const headerActions = $computed(() => []);
|
||||
|
||||
const headerTabs = $computed(() => [{
|
||||
key: 'dms',
|
||||
title: i18n.ts._messaging.dms,
|
||||
icon: 'fas fa-user',
|
||||
}, {
|
||||
key: 'groups',
|
||||
title: i18n.ts._messaging.groups,
|
||||
icon: 'fas fa-users',
|
||||
}]);
|
||||
|
||||
definePageMetadata({
|
||||
title: i18n.ts.messaging,
|
||||
icon: 'fas fa-comments',
|
||||
});
|
||||
|
||||
function onMessage(message) {
|
||||
if (message.recipientId) {
|
||||
messages = messages.filter(m => !(
|
||||
@ -171,6 +154,23 @@ onUnmounted(() => {
|
||||
if (connection) connection.dispose();
|
||||
});
|
||||
|
||||
const headerActions = $computed(() => []);
|
||||
|
||||
const headerTabs = $computed(() => [{
|
||||
key: 'dms',
|
||||
title: i18n.ts._messaging.dms,
|
||||
icon: 'fas fa-user',
|
||||
}, {
|
||||
key: 'groups',
|
||||
title: i18n.ts._messaging.groups,
|
||||
icon: 'fas fa-users',
|
||||
}]);
|
||||
|
||||
definePageMetadata({
|
||||
title: i18n.ts.messaging,
|
||||
icon: 'fas fa-comments',
|
||||
});
|
||||
|
||||
let swiperRef = null;
|
||||
|
||||
function setSwiperRef(swiper) {
|
||||
|
Loading…
Reference in New Issue
Block a user