From 51079e2d4cb2621530fd2c814ad817105f7a2807 Mon Sep 17 00:00:00 2001 From: Tempe Techie <95053628+tempe-techie@users.noreply.github.com> Date: Sat, 9 Mar 2024 13:56:49 +0100 Subject: [PATCH] minor fix when posting new posts --- components/chat/ChatPost.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/components/chat/ChatPost.vue b/components/chat/ChatPost.vue index 3af8df6..2103772 100644 --- a/components/chat/ChatPost.vue +++ b/components/chat/ChatPost.vue @@ -298,8 +298,10 @@ export default { return this.post.context; } else if (this.post?.content.context) { return this.post.content.context; - } else if (this.post?.context_details.context_id) { + } else if (this.post?.context_details?.context_id) { return this.post.context_details.context_id; + } else if (this.post?.stream_id) { + return this.post.stream_id; } else { return this.orbisContext; }