Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
noridev committed Sep 21, 2023
1 parent 176af77 commit dd30d68
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/frontend/src/pages/messaging/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ SPDX-License-Identifier: AGPL-3.0-only
</template>

<script lang="ts" setup>
import { markRaw, onMounted, onUnmounted } from 'vue';
import { onMounted, onUnmounted } from 'vue';
import * as Acct from 'cherrypick-js/built/acct';
import * as os from '@/os.js';
import { useStream } from '@/stream.js';
Expand All @@ -47,7 +47,7 @@ let tab = $ref('direct');

let fetching = $ref(true);
let messages = $ref([]);
let connection = $ref(null);
let connection;

const directPagination = {
endpoint: 'messaging/history' as const,
Expand Down Expand Up @@ -134,7 +134,7 @@ async function readAllMessagingMessages() {
}

onMounted(() => {
connection = markRaw(useStream().useChannel('messagingIndex'));
connection = useStream().useChannel('messagingIndex');

connection.on('message', onMessage);
connection.on('read', onRead);
Expand Down

0 comments on commit dd30d68

Please sign in to comment.