feat: add v0.19.0 support

This commit is contained in:
Xyphyn committed 2023-09-28 17:09:09 -07:00
1 parent b3b8a10e44
commit 119ab53946
62 files changed
+188 -157

No files matched your search

+1 -3
View File
@@ -30,9 +30,7 @@
markingAsRead = true
const response = await getClient().markAllAsRead({
auth: $profile.jwt!,
})
const response = await getClient().markAllAsRead()
$profile.user.unreads = 0
-1
View File
@@ -23,7 +23,6 @@ export async function load({ url, fetch }) {
const params = {
limit: 20,
page: page,
auth: auth.jwt,
unread_only: unreadOnly == 'true',
}
-3
View File
@@ -38,7 +38,6 @@
try {
await getClient().createPrivateMessage({
auth: $profile.jwt,
content: reply,
recipient_id: message.creator.id,
})
@@ -68,13 +67,11 @@
if (item.type == 'person_mention') {
await getClient().markPersonMentionAsRead({
auth: $profile?.jwt,
person_mention_id: item.id,
read: isRead,
})
} else if (item.type == 'comment_reply') {
await getClient().markCommentReplyAsRead({
auth: $profile?.jwt,
comment_reply_id: item.id,
read: isRead,
})