Add userlike only after user is refreshed
This commit is contained in:
parent
44d59909d3
commit
72f323bce4
|
@ -54,6 +54,7 @@ App = Ember.Application.extend(Ember.Evented,
|
|||
|
||||
@on 'user:refreshed', (user) ->
|
||||
Travis.onUserUpdate(user)
|
||||
Travis.setupUserlike(user)
|
||||
|
||||
@on 'user:synced', (user) ->
|
||||
Travis.onUserUpdate(user)
|
||||
|
@ -64,7 +65,6 @@ App = Ember.Application.extend(Ember.Evented,
|
|||
onUserUpdate: (user) ->
|
||||
if config.pro
|
||||
@identifyCustomer(user)
|
||||
@setupUserlike(user)
|
||||
|
||||
@subscribePusher(user)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user