Skip to content

Commit

Permalink
Add the missing uniqueId to the push notifications (RocketChat#13423)
Browse files Browse the repository at this point in the history
  • Loading branch information
graywolf336 authored and Montel committed Feb 13, 2019
1 parent d946bf0 commit 6ab5704
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions server/lib/cordova.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@ Meteor.methods({
});

function sendPush(service, token, options, tries = 0) {
options.uniqueId = RocketChat.settings.get('uniqueID');

const data = {
data: {
token,
Expand Down

0 comments on commit 6ab5704

Please sign in to comment.