mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-26 11:57:34 -07:00
messaging/history
This commit is contained in:
parent
6edc9773a5
commit
9eb948c8d9
2 changed files with 4 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "calckey",
|
||||
"version": "12.119.0-calc.7.1",
|
||||
"version": "12.119.0-calc.7.2",
|
||||
"codename": "aqua",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
<MkButton primary class="start" @click="start"><i class="fas fa-plus"></i> {{ i18n.ts.startMessaging }}</MkButton>
|
||||
|
||||
<div v-if="messages.length > 0" class="history">
|
||||
<MkPagination v-slot="{messages}" :pagination="pagination">
|
||||
<MkPagination v-slot="{items}" :pagination="pagination">
|
||||
<MkA
|
||||
v-for="(message, i) in messages"
|
||||
:key="message.id"
|
||||
|
@ -70,8 +70,8 @@ let connection = $ref(null);
|
|||
const getAcct = Acct.toString;
|
||||
|
||||
const pagination = {
|
||||
endpoint: 'messaging' as const,
|
||||
limit: 20,
|
||||
endpoint: 'messaging/history' as const,
|
||||
limit: 10,
|
||||
};
|
||||
|
||||
function isMe(message) {
|
||||
|
|
Loading…
Reference in a new issue