Skip to content

Commit

Permalink
fix init event handling
Browse files Browse the repository at this point in the history
.. now entities are not there anymore
  • Loading branch information
davibe committed Jan 15, 2016
1 parent 479b233 commit 81419d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ui/dispatcher.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ handle 'init', (init) ->

# update model from init object
entity._initFromSelfEntity init.self_entity
entity._initFromEntities init.entities
entity._initFromEntities init.entities if init.entities
conv._initFromConvStates init.conv_states
# ensure there's a selected conv
unless conv[viewstate.selectedConv]
Expand Down

0 comments on commit 81419d1

Please sign in to comment.