Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
casualuser authored Sep 14, 2018
1 parent dc39bde commit 9a87dd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion angular-chat.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ angular.module('chat').service('ChatCore',
self.rooms[setup.to] = self.rltm.join(setup.to);
}

return self.rooms[setup.to].publish({
return self.rooms[setup.to].message({
data: setup.message,
user: user
});
Expand Down

0 comments on commit 9a87dd2

Please sign in to comment.