Skip to content

Delete unknown devices#567

Merged
nickvergessen merged 3 commits intomasterfrom
enh/noid/delete-unknown-devices
Mar 5, 2020
Merged

Delete unknown devices#567
nickvergessen merged 3 commits intomasterfrom
enh/noid/delete-unknown-devices

Conversation

@nickvergessen
Copy link
Member

No description provided.

Copy link
Member

@rullzer rullzer left a comment

Choose a reason for hiding this comment

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

Didn't test. But the code look good. And I assume you verified the workings with the push proxy code

@nickvergessen
Copy link
Member Author

Yeah, and you can too. Just register a normal android/iOS app and then change the push token hash in the database to an invalid one (replace one char)
After then sending a notification via console the token should vanish from oc_notifiations_pushtokens

Copy link
Member

@rullzer rullzer left a comment

Choose a reason for hiding this comment

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

quick smoke tests sees to do the trick :D

Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
@nickvergessen nickvergessen force-pushed the enh/noid/delete-unknown-devices branch from 1df1cf8 to 4d2924a Compare March 5, 2020 08:43
@nickvergessen nickvergessen merged commit 01f9c6d into master Mar 5, 2020
@nickvergessen nickvergessen deleted the enh/noid/delete-unknown-devices branch March 5, 2020 09:16
@nickvergessen
Copy link
Member Author

/backport to stable18

@backportbot-nextcloud
Copy link

backport to stable18 in #583

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants