Skip to content

Commit

Permalink
minor fix when posting new posts
Browse files Browse the repository at this point in the history
  • Loading branch information
tempe-techie committed Mar 9, 2024
1 parent 409e408 commit 51079e2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion components/chat/ChatPost.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 51079e2

Please sign in to comment.