diff --git a/client/helpers/config.sample b/client/helpers/config.sample deleted file mode 100644 index 24a80b6..0000000 --- a/client/helpers/config.sample +++ /dev/null @@ -1,9 +0,0 @@ -console.log('loading sample config'); - -Accounts.ui.config({ - passwordSignupFields: 'EMAIL_ONLY' -}); - -Meteor.setLocale('en_GB'); - -filePickerKey = "Av2HCAqJSM2aHdX5yKTZtz"; \ No newline at end of file diff --git a/server/presence.js b/server/presence.js index 59d9fbb..c99e045 100644 --- a/server/presence.js +++ b/server/presence.js @@ -16,8 +16,8 @@ Meteor.methods({ online: 1 }); } else { - // If the user is not invisible, and the user previously was offline - // tell all his friends he connected + // If the user is not invisible + // tell all his friends he is connected (if they didn't know before). if(!presence.invisible){ Friends.update({ target: Meteor.userId(), live: 1, online: 0 }, {$set: {online: 1}}); }