Skip to content

Commit

Permalink
fix(message): edit message recipient (#3189)
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonwoodland authored May 17, 2022
1 parent a820866 commit 04389ab
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion components/views/chat/message/Message.vue
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,9 @@ export default Vue.extend({
})
if (message !== this.$props.message.payload) {
const recipient = this.$Hounddog.getActiveFriend(
const { address } = this.$route.params
const recipient = this.$Hounddog.findFriendByAddress(
address,
this.$store.state.friends,
)
this.$store.dispatch('textile/editTextMessage', {
Expand Down

0 comments on commit 04389ab

Please sign in to comment.