this post was submitted on 17 Jul 2023
12 points (100.0% liked)

Voyager

5625 readers
454 users here now

The official lemmy community for Voyager, an open source, mobile-first client for lemmy.

Download on App Store

Download on Play Store

Use as a Web App

Download on F-Droid

Rules

  1. Be nice.
  2. lemmy.world instance policy

Sponsor development! ๐Ÿ‘‡

Number of sponsors badge

๐Ÿ’™

founded 1 year ago
MODERATORS
 

First of all, LOVE the app!

I'm wondering if there are plans to add push notifications on reply/DM? it'll be awesome not to need to check the app every time just to see if someone replied to my DM?

you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 9 points 1 year ago (1 children)

It is planned but it probably will take a while to implement since lemmy doesn't support webpush api. Without web push their are only two ways to check for notifications (both aren't elegant):

  1. Poll the lemmy api for new messages (say every min). This would be bandwith intensive for both voyager servers and your lemmy instance (Memmy does this and currently for 800 users 3gb of bandwith is used per day). Even if voyager is able to scale there servers to handle bandwith lemmy instances could impose rate limits which would prevent notifications from coming through.

  2. Set up a weird janky system to intercept emails sent from lemmy instance to trigger a voyager server to ask the api if there are any new messages (would reduce poll rate but would be super clunky to setup).

Web push api could solve this issue since instead of voyager having to ask lemmy if their are new messages web push allows the opposite to happen (lemmy telling voyager a new message has arived).

https://github.com/LemmyNet/lemmy/issues/3552

[โ€“] Barns 3 points 1 year ago

Thanks for the detailed, clear answer. It makes sense so won't hold my breath for it for the time being ๐Ÿ™‚