diff options
| author | Shpuld Shpludson <shp@cock.li> | 2019-05-07 17:33:56 +0000 |
|---|---|---|
| committer | Shpuld Shpludson <shp@cock.li> | 2019-05-07 17:33:56 +0000 |
| commit | 58ef6258d6d9d241445a47563e702f91330c6b2e (patch) | |
| tree | 6cc094ea930d162968d790b7085f5574bc88c310 /src | |
| parent | 081f9a926aa55aa8d4aa8d1cd9ad91ff5ec84880 (diff) | |
| parent | 917e82e8eedb231cee0b1f6e95ac9c5dbba03e35 (diff) | |
Merge branch '515' into 'develop'
Fix broken filtering for replies in the timeline
Closes #515
See merge request pleroma/pleroma-fe!786
Diffstat (limited to 'src')
| -rw-r--r-- | src/components/conversation/conversation.vue | 2 | ||||
| -rw-r--r-- | src/components/status/status.js | 5 |
2 files changed, 3 insertions, 4 deletions
diff --git a/src/components/conversation/conversation.vue b/src/components/conversation/conversation.vue index c3bbb597..d04ff722 100644 --- a/src/components/conversation/conversation.vue +++ b/src/components/conversation/conversation.vue @@ -11,7 +11,7 @@ @goto="setHighlight" @toggleExpanded="toggleExpanded" :key="status.id" - :inlineExpanded="collapsable" + :inlineExpanded="collapsable && isExpanded" :statusoid="status" :expandable='!isExpanded' :focused="focused(status.id)" diff --git a/src/components/status/status.js b/src/components/status/status.js index ff8cbe18..c01cfe79 100644 --- a/src/components/status/status.js +++ b/src/components/status/status.js @@ -31,7 +31,6 @@ const Status = { data () { return { replying: false, - expanded: false, unmuted: false, userExpanded: false, preview: null, @@ -161,7 +160,7 @@ const Status = { if (this.$store.state.config.replyVisibility === 'all') { return false } - if (this.inlineExpanded || this.expanded || this.inConversation || !this.isReply) { + if (this.inConversation || !this.isReply) { return false } if (this.status.user.id === this.$store.state.users.currentUser.id) { @@ -175,7 +174,7 @@ const Status = { if (this.status.user.id === this.status.attentions[i].id) { continue } - if (checkFollowing && this.status.attentions[i].following) { + if (checkFollowing && this.$store.getters.findUser(this.status.attentions[i].id).following) { return false } if (this.status.attentions[i].id === this.$store.state.users.currentUser.id) { |
