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 3ddb12e commit 056f3aa
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 @@ -310,8 +310,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 056f3aa

Please sign in to comment.