carlreinecken / piqchat-inbox-server

Selfhost your own piqchat inbox server
https://piqchat.net
ISC License
3 stars 1 forks source link

Push Notification Failed #3

Closed Poory1 closed 8 months ago

Poory1 commented 8 months ago

Hey, thanks for the great PWA. My docker compose log indicate that there is an error with Push Notifications. I didnt receive one when I got a PIQ.

sendPushNotification failed with "Error: No subject set in vapidDetails.subject." with recipient LTYtw...
carlreinecken commented 8 months ago

Thanks for the question! vapidDetails.subject refers to the environment variable PUSH_VAPID_CONTACT. You need to set a value to an email adress or website where the push service can contact you if something is not working. The example.env has more info.

I will look into improving the error message!