messaging/history

This commit is contained in:
ThatOneCalculator 2022-11-03 15:59:21 -07:00
parent 7ab4f3ee76
commit f07b8e44a5
2 changed files with 4 additions and 4 deletions

View file

@ -1,6 +1,6 @@
{ {
"name": "calckey", "name": "calckey",
"version": "12.119.0-calc.7.1", "version": "12.119.0-calc.7.2",
"codename": "aqua", "codename": "aqua",
"repository": { "repository": {
"type": "git", "type": "git",

View file

@ -6,7 +6,7 @@
<MkButton primary class="start" @click="start"><i class="fas fa-plus"></i> {{ i18n.ts.startMessaging }}</MkButton> <MkButton primary class="start" @click="start"><i class="fas fa-plus"></i> {{ i18n.ts.startMessaging }}</MkButton>
<div v-if="messages.length > 0" class="history"> <div v-if="messages.length > 0" class="history">
<MkPagination v-slot="{messages}" :pagination="pagination"> <MkPagination v-slot="{items}" :pagination="pagination">
<MkA <MkA
v-for="(message, i) in messages" v-for="(message, i) in messages"
:key="message.id" :key="message.id"
@ -70,8 +70,8 @@ let connection = $ref(null);
const getAcct = Acct.toString; const getAcct = Acct.toString;
const pagination = { const pagination = {
endpoint: 'messaging' as const, endpoint: 'messaging/history' as const,
limit: 20, limit: 10,
}; };
function isMe(message) { function isMe(message) {