Fix includes in lemmy protocol document

This commit is contained in:
Felix Ableitner 2022-05-30 13:19:33 +02:00
parent d79469d997
commit 7e3cc08b09
2 changed files with 6 additions and 6 deletions

View file

@ -381,7 +381,7 @@ Reverts a previous user block.
Creates a new private message between two users.
```json
{{#include ../../../include/crates/apub/assets/lemmy/activities/private_message/create.json}}
{{#include ../../../include/crates/apub/assets/lemmy/activities/create_or_update/create_private_message.json}}
```
#### Delete Private Message
@ -389,7 +389,7 @@ Creates a new private message between two users.
Deletes a previous private message.
```json
{{#include ../../../include/crates/apub/assets/lemmy/activities/private_message/delete.json}}
{{#include ../../../include/crates/apub/assets/lemmy/activities/deletion/delete_private_message.json}}
```
#### Undo Delete Private Message
@ -397,5 +397,5 @@ Deletes a previous private message.
Restores a previously deleted private message. The `object` is regenerated from scratch, as such the activity ID and other fields are different.
```json
{{#include ../../../include/crates/apub/assets/lemmy/activities/private_message/undo_delete.json}}
{{#include ../../../include/crates/apub/assets/lemmy/activities/deletion/undo_delete_private_message.json}}
```

View file

@ -358,7 +358,7 @@ Urung pelarangan pengguna.
Buat pesan pribadi antar dua pengguna.
```json
{{#include ../../../include/crates/apub/assets/lemmy/activities/private_message/create.json}}
{{#include ../../../include/crates/apub/assets/lemmy/activities/create_or_update/create_private_message.json}}
```
#### Hapus Pesan Pribadi
@ -366,7 +366,7 @@ Buat pesan pribadi antar dua pengguna.
Hapus pesan pribadi.
```json
{{#include ../../../include/crates/apub/assets/lemmy/activities/private_message/delete.json}}
{{#include ../../../include/crates/apub/assets/lemmy/activities/deletion/delete_private_message.json}}
```
#### Urung Hapus Pesan Pribadi
@ -374,5 +374,5 @@ Hapus pesan pribadi.
Pulihkan pesan pribadi yang dihapus. `object` kembali dihasilkan dari awal, karena itu ID aktivitas dan bidang lainnya berbeda dengan yang sebelumnya.
```json
{{#include ../../../include/crates/apub/assets/lemmy/activities/private_message/undo_delete.json}}
{{#include ../../../include/crates/apub/assets/lemmy/activities/deletion/undo_delete_private_message.json}}
```