Mikhail Skopenko
Results
2
comments of
Mikhail Skopenko
yes, the question is rather what event should I listen to for push
here i found a pretty simple solution ``` sendingPushNotifications = (event) => { if (event.event.type === "m.room.message" && event.event.sender !== this.props.userId && document.hidden) { addNotification({ title: `сообщение от ${event.sender.rawDisplayName}`, message:...