Skip to content

Commit

Permalink
feat(posts/message-saga): send browser notifications when event is po…
Browse files Browse the repository at this point in the history
…st event
  • Loading branch information
domw30 committed Oct 4, 2024
1 parent 54989d3 commit 5e20149
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib/chat/matrix/chat-message.ts
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,7 @@ function convertToNotifiableEventType(eventType) {
switch (eventType) {
case EventType.RoomMessageEncrypted:
case EventType.RoomMessage:
case CustomEventType.ROOM_POST:
return NotifiableEventType.RoomMessage;
default:
return '';
Expand Down

0 comments on commit 5e20149

Please sign in to comment.