From: Dessalines Date: Fri, 25 Sep 2020 16:36:26 +0000 (-0500) Subject: Fix private message reply from inbox. Fixes #40 X-Git-Url: http://these/git/%7B%60%24%7BghostArchiveUrl%7D/static/%7BdonateLemmyUrl%7D?a=commitdiff_plain;h=3ff9b4698136144a91ae0f58f67756be4e92947d;p=lemmy-ui.git Fix private message reply from inbox. Fixes #40 --- diff --git a/src/shared/components/private-message.tsx b/src/shared/components/private-message.tsx index 30f7415..a0e86a7 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,