Skip to content
Snippets Groups Projects
Commit 1df22f9a authored by Rodrigo Nascimento's avatar Rodrigo Nascimento
Browse files

Fix updateUserUtcOffset

parent 64fd2c94
No related branches found
No related tags found
No related merge requests found
Tracker.autorun ->
user = Meteor.user()
if user?.status is 'online'
if user?.statusConnection is 'online'
utcOffset = moment().utcOffset() / 60
if user.utcOffset isnt utcOffset
Meteor.call 'updateUserUtcOffset', utcOffset
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment