mirror of
https://github.com/fromchat-messenger/web.git
synced 2026-09-22 19:15:08 +03:00
Implement actual reply
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user