Skip to content
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

Adding ability to remove push ids when reported as removed from google or apple #5513

Merged
merged 3 commits into from
Feb 24, 2017

Conversation

coreyhulen
Copy link
Contributor

@coreyhulen coreyhulen commented Feb 23, 2017

Summary

Add the ability to remove device IDs when the APNS reports the ID as invalid.

Ticket Link

https://mattermost.atlassian.net/browse/PLT-4427

Checklist

  • Touches critical sections of the codebase (auth, upgrade, etc.)

@coreyhulen coreyhulen added the 2: Dev Review Requires review by a developer label Feb 23, 2017
@coreyhulen coreyhulen changed the title Adding ability to remove push device Ids when reported as removed fro… Adding ability to remove push ids when reported as removed from google or apple Feb 23, 2017
@coreyhulen coreyhulen added Work In Progress Not yet ready for review 2: Dev Review Requires review by a developer and removed 2: Dev Review Requires review by a developer Work In Progress Not yet ready for review labels Feb 23, 2017
@jasonblais jasonblais added this to the v3.7.0 milestone Feb 23, 2017
resp.Body.Close()
}

if m != nil && m[model.STATUS] == model.STATUS_REMOVE {
Copy link
Member

Choose a reason for hiding this comment

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

Minor, but unneeded nil check since MapFromJson always returns a valid map. Left up to your discretion as to whether or not to remove

@crspeller crspeller merged commit 80273d0 into master Feb 24, 2017
@crspeller crspeller deleted the fix-push branch February 24, 2017 01:27
andreistanciu24 pushed a commit to andreistanciu24/platform that referenced this pull request Feb 27, 2017
…e or apple (mattermost#5513)

* Adding ability to remove push device Ids when reported as removed from google or apple

* Fixing log string

* Removing unneeded nil check
andreistanciu24 pushed a commit to andreistanciu24/platform that referenced this pull request Feb 28, 2017
…e or apple (mattermost#5513)

* Adding ability to remove push device Ids when reported as removed from google or apple

* Fixing log string

* Removing unneeded nil check
andreistanciu24 pushed a commit to andreistanciu24/platform that referenced this pull request Feb 28, 2017
…e or apple (mattermost#5513)

* Adding ability to remove push device Ids when reported as removed from google or apple

* Fixing log string

* Removing unneeded nil check
andreistanciu24 pushed a commit to andreistanciu24/platform that referenced this pull request Mar 2, 2017
…e or apple (mattermost#5513)

* Adding ability to remove push device Ids when reported as removed from google or apple

* Fixing log string

* Removing unneeded nil check
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2: Dev Review Requires review by a developer
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants