From 3ff9b4698136144a91ae0f58f67756be4e92947d Mon Sep 17 00:00:00 2001 From: Dessalines Date: Fri, 25 Sep 2020 11:36:26 -0500 Subject: [PATCH] Fix private message reply from inbox. Fixes #40 --- src/shared/components/private-message.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/shared/components/private-message.tsx b/src/shared/components/private-message.tsx index 30f74156..a0e86a77 100644 --- a/src/shared/components/private-message.tsx +++ b/src/shared/components/private-message.tsx @@ -58,7 +58,7 @@ export class PrivateMessage extends Component< ? { name: message.recipient_name, preferred_username: message.recipient_preferred_username, - id: message.id, + id: message.recipient_id, avatar: message.recipient_avatar, local: message.recipient_local, actor_id: message.recipient_actor_id, @@ -72,7 +72,7 @@ export class PrivateMessage extends Component< : { name: message.creator_name, preferred_username: message.creator_preferred_username, - id: message.id, + id: message.creator_id, avatar: message.creator_avatar, local: message.creator_local, actor_id: message.creator_actor_id,