fix: fix bug when faving/boosting push notification (#1244)
This commit is contained in:
parent
3a7d6d3552
commit
164768e6c9
|
@ -193,10 +193,9 @@ const cloneNotification = notification => {
|
|||
|
||||
// Object.assign() does not work with notifications
|
||||
for (let k in notification) {
|
||||
if (notification.hasOwnProperty(k)) {
|
||||
// intentionally not doing a hasOwnProperty check
|
||||
clone[k] = notification[k]
|
||||
}
|
||||
}
|
||||
|
||||
return clone
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue