Skip to content

Register properly for push notifications

Joshua Goins requested to merge work/redstrate/unifiedpush-registration into master

Here's the second part in the push notification trilogy:

  • Changed the name of the arg to --dbus-activated to match other applications.
  • Re-arrange main.cpp a bit to allow a non-gui start when --dbus-activated is passed.
  • Register ourselves with the homeserver and the push gateway. Right now it's hardcoded to pushkeys from ntfy, I'm not sure of a generic solution yet. This isn't a huge deal because 90% of people are going to be using the ntfy push distributor from KUnifiedPush because it doesn't need to be selfhosted. (I'm not even sure the other supported distributors even support the matrix gateway lol)

Merge request reports

Loading