Skip to content

Commit

Permalink
feat(lib): fix a test
Browse files Browse the repository at this point in the history
  • Loading branch information
piotr-suwala committed Dec 12, 2023
1 parent 4805f74 commit 4713e00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/entities/message.ts
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ export class Message {
this.restoreThread(),
])

let allActions = this.actions ? { ...this.actions } : {}
let allActions = this.actions || {}
delete allActions[MessageActionType.DELETED]

for (let i = 0; i < data.length; i++) {
Expand Down

0 comments on commit 4713e00

Please sign in to comment.