Skip to content

Commit

Permalink
fix inbox: remove old map-method (#11269)
Browse files Browse the repository at this point in the history
  • Loading branch information
negue authored and paglias committed Jul 16, 2019
1 parent c9a56e8 commit 74d3c93
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions website/client/components/userMenu/inbox.vue
Original file line number Diff line number Diff line change
Expand Up @@ -586,11 +586,6 @@ export default {
this.messagesByConversation[this.selectedConversation.key] = this.messagesByConversation[this.selectedConversation.key] || [];
const loadedMessagesToAdd = loadedMessages
.filter(m => this.messagesByConversation[this.selectedConversation.key].findIndex(mI => mI.id === m.id) === -1)
.map(m => {
m.uuid = m.fromUUID;
return m;
})
;
this.messagesByConversation[this.selectedConversation.key].push(...loadedMessagesToAdd);
Expand Down

0 comments on commit 74d3c93

Please sign in to comment.