mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Check the new argument of clientVersions publications
This commit is contained in:
@@ -137,6 +137,8 @@ var updateVersions = function (shouldReloadClientProgram) {
|
||||
Meteor.publish(
|
||||
"meteor_autoupdate_clientVersions",
|
||||
function (appId) {
|
||||
check(appId, Match.Optional(String));
|
||||
|
||||
// Don't notify clients using wrong appId such as mobile apps built with a
|
||||
// different server but pointing at the same local url
|
||||
if (Autoupdate.appId && appId && Autoupdate.appId !== appId)
|
||||
|
||||
Reference in New Issue
Block a user