Skip to content

Conversation

@lucassartor
Copy link
Contributor

Proposed changes (including videos or screenshots)

#22346 prevented unregistered servers from using the RC push gateway but was still blocking this servers from using their own push gateway, this PR looks to fix that.

Issue(s)

Steps to test or reproduce

Further comments

@lucassartor lucassartor requested review from a team and KevLehman and removed request for KevLehman June 17, 2021 13:42
_id: 'Push_enable',
value: true,
},
{
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

instead of removing this enable query, let's remove the enable query from the custom certificates settings (Push_apn_passphrase, Push_apn_key, etc.)

doing so, you can also revert the new setting description..

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, did it! But with this change I had to modify one validation in server > lib > pushConfig.js, otherwise the custom certificates wouldn't work in unregistered servers.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thx @lucassartor I had to change to set an empty enableQuery because otherwise the previous value was still set
on DB: f633ca1

I also changed a little bit the logic the configurePush so it used the same logic in both places 3863792

@sampaiodiego sampaiodiego merged commit 734d3b5 into develop Jun 20, 2021
@sampaiodiego sampaiodiego deleted the regression/push-gateway branch June 20, 2021 20:07
@sampaiodiego sampaiodiego mentioned this pull request Jun 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants