diff --git a/README.md b/README.md index 9b3ff37..cfdabac 100644 --- a/README.md +++ b/README.md @@ -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 => {