This commit is contained in:
ThatOneCalculator 2022-11-03 17:16:23 -07:00
parent f410faa825
commit ec4474812f
2 changed files with 7 additions and 2 deletions

View file

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

View file

@ -21,7 +21,9 @@
<MkTime :time="message.createdAt" class="time"/> <MkTime :time="message.createdAt" class="time"/>
</header> </header>
<header v-else> <header v-else>
<span class="name"><MkUserName :user="isMe(message) ? message.recipient : message.user"/></span> <span class="name">
<MkUserName :user="isMe(message) ? message.recipient : message.user"/>
</span>
<span class="username">@{{ acct(isMe(message) ? message.recipient : message.user) }}</span> <span class="username">@{{ acct(isMe(message) ? message.recipient : message.user) }}</span>
<MkTime :time="message.createdAt" class="time"/> <MkTime :time="message.createdAt" class="time"/>
</header> </header>
@ -70,6 +72,9 @@ const getAcct = Acct.toString;
const pagination = { const pagination = {
endpoint: 'messaging/history' as const, endpoint: 'messaging/history' as const,
limit: 10, limit: 10,
parameters: {
group: false,
},
}; };
function isMe(message) { function isMe(message) {