Implement actual reply

This commit is contained in:
2025-09-19 16:10:09 +03:00
Unverified
parent c5f976b4d6
commit a5e1139a6c
3 changed files with 12 additions and 46 deletions
+4 -1
View File
@@ -66,7 +66,10 @@ export class PublicChatPanel extends MessagePanel {
try {
const response = await request({
data: { content: content.trim(), ...(replyToId ? { reply_to_id: replyToId } : {}) },
data: {
content: content.trim(),
reply_to_id: replyToId ?? null
},
credentials: {
scheme: "Bearer",
credentials: this.currentUser.authToken