Fix profile mention in drafts

This commit is contained in:
tusooa 2024-08-22 20:32:45 -04:00
parent 087a7c6434
commit edf5e36bf8
No known key found for this signature in database
GPG key ID: 42AEC43D48433C51

View file

@ -144,7 +144,7 @@ const PostStatusForm = {
const { scopeCopy } = this.$store.getters.mergedConfig const { scopeCopy } = this.$store.getters.mergedConfig
const [statusType, refId] = typeAndRefId({ replyTo: this.replyTo, profileMention: this.profileMention, statusId: this.statusId }) const [statusType, refId] = typeAndRefId({ replyTo: this.replyTo, profileMention: this.profileMention && this.repliedUser?.id, statusId: this.statusId })
// If we are starting a new post, do not associate it with old drafts // If we are starting a new post, do not associate it with old drafts
let statusParams = !this.disableDraft && (this.draftId || statusType !== 'new') ? this.getDraft(statusType, refId) : null let statusParams = !this.disableDraft && (this.draftId || statusType !== 'new') ? this.getDraft(statusType, refId) : null