Merge branch 'feat/dont-filter-own-posts' into 'develop'

Don't filter own posts

See merge request pleroma/pleroma-fe!1323
This commit is contained in:
Shpuld Shpludson 2021-01-18 13:09:25 +00:00
commit fe78ed78fd
2 changed files with 4 additions and 0 deletions

View File

@ -12,6 +12,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
- Follows/Followers tabs on user profiles now display the content properly. - Follows/Followers tabs on user profiles now display the content properly.
- Handle punycode in screen names - Handle punycode in screen names
### Changed
- Don't filter own posts when they hit your wordfilter
## [2.2.2] - 2020-12-22 ## [2.2.2] - 2020-12-22
### Added ### Added
- Mouseover titles for emojis in reaction picker - Mouseover titles for emojis in reaction picker

View File

@ -157,6 +157,7 @@ const Status = {
return muteWordHits(this.status, this.muteWords) return muteWordHits(this.status, this.muteWords)
}, },
muted () { muted () {
if (this.statusoid.user.id === this.currentUser.id) return false
const { status } = this const { status } = this
const { reblog } = status const { reblog } = status
const relationship = this.$store.getters.relationship(status.user.id) const relationship = this.$store.getters.relationship(status.user.id)