Skip to content

Commit

Permalink
Step 6.9: Replace manual chat removal with method invokation in chats…
Browse files Browse the repository at this point in the history
… controller
  • Loading branch information
DAB0mB authored and Dotan Simha committed Nov 22, 2016
1 parent 16e8427 commit fbce621
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/controllers/chats.controller.js
Expand Up @@ -19,7 +19,7 @@ export default class ChatsCtrl extends Controller {
}

remove(chat) {
this.data.remove(chat._id);
this.callMethod('removeChat', chat._id);
}
}

Expand Down

0 comments on commit fbce621

Please sign in to comment.