Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Detect guest actor id for quote border
Properly detect reply to guest users to update the quote border
accordingly.

Signed-off-by: Vincent Petry <[email protected]>
  • Loading branch information
PVince81 committed Jan 13, 2021
commit 366464cd419bf0433a64e1b555cd3e26660ecb02
8 changes: 7 additions & 1 deletion src/components/Quote.vue
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,13 @@ export default {
},

isOwnMessageQuoted() {
return this.actorId === this.$store.getters.getUserId()
let actorId = this.actorId
if (this.actorType === 'guests') {
actorId = 'guest/' + actorId
}

return actorId === this.$store.getters.getActorId()
&& this.actorType === this.$store.getters.getActorType()
},

isFileShareMessage() {
Expand Down