Skip to content
This repository has been archived by the owner on Aug 18, 2020. It is now read-only.

Commit

Permalink
Room IDs are strings
Browse files Browse the repository at this point in the history
  • Loading branch information
mdpye committed Nov 1, 2018
1 parent 766c841 commit f6db0fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -606,7 +606,7 @@ class ChatScreen extends Component {
.then(currentUser => {
this.setState({ currentUser })
+ return currentUser.subscribeToRoom({
+ roomId: YOUR ROOM ID,
+ roomId: "YOUR ROOM ID",
+ messageLimit: 100,
+ hooks: {
+ onNewMessage: message => {
Expand Down

0 comments on commit f6db0fd

Please sign in to comment.