[LLC] Deprecate setUser with connectUser

Signed-off-by: Sahil Kumar <[email protected]>
This commit is contained in:
Sahil Kumar
2021-02-03 15:47:29 +05:30
parent ceb7cc0bdb
commit 3e43ba6dc7
6 changed files with 48 additions and 25 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ Future<void> main() async {
/// a backend to generate a user token using our server SDK.
/// Please see the following for more information:
/// https://getstream.io/chat/docs/ios_user_setup_and_tokens/
await client.setUser(
await client.connectUser(
User(
id: 'cool-shadow-7',
extraData: {