-
-
Notifications
You must be signed in to change notification settings - Fork 17.4k
nixos/prosody: add muc_notifications module support #434574
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
nixos/prosody: add muc_notifications module support #434574
Conversation
59938bd to
0d4285c
Compare
|
Not entirely sure on the value of that NixOS test. Spinning up a VM to test that Nix’s strings interpolation works seems pretty wasteful. If a test were/needed to be written, shouldn’t it test that notification are actually happening with a client or something similar for this to provide value? |
0d4285c to
16a2b74
Compare
|
@toastal, I removed my simple test and I don't know how to create such an advanced test you described. I think if generated config matches module usage from documentation then it should be fine. |
16a2b74 to
907616c
Compare
907616c to
0c1c835
Compare
|
@toastal, I manually checked that |
0c1c835 to
0a5789c
Compare
|
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/prs-ready-for-review/3032/5928 |
|
@toastal, could you please review when you have a moment? |
215ad8a to
4c30c3b
Compare
|
@SuperSandro2000, could you please review? |
|
@toastal, sorry for making noise, but maybe you could review/approve when you have time? |
4c30c3b to
adb6759
Compare
adb6759 to
7282c22
Compare
962b51c to
4089e02
Compare
4089e02 to
3036333
Compare
muc_notifications is a community module recommended to be enabled by Monal client. As I understand it should be used in a different way comparing to the other community modules by adding it into
modules_enabledofmucmodule.I added logic to use
muc_notificationscommunity module in the correct way and added test to check generated configuration.Things done
passthru.tests.nixpkgs-reviewon this PR. See nixpkgs-review usage../result/bin/.Add a 👍 reaction to pull requests you find important.