From 57341d913cda5833790c0169bd75fa5a44a88f58 Mon Sep 17 00:00:00 2001 From: Salvatore Giordano Date: Thu, 12 Mar 2020 17:42:34 +0100 Subject: [PATCH] update single conversation example --- example/lib/single_conversation.dart | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/example/lib/single_conversation.dart b/example/lib/single_conversation.dart index fc52eb23..785c02f2 100644 --- a/example/lib/single_conversation.dart +++ b/example/lib/single_conversation.dart @@ -31,10 +31,12 @@ void main() async { logLevel: Level.INFO, ); - await client.setUser( - User(id: 'falling-mountain-7'), - 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoiZmFsbGluZy1tb3VudGFpbi03In0.AKgRXHMQQMz6vJAKszXdY8zMFfsAgkoUeZHlI-Szz9E', - ); + await client + .setUser( + User(id: 'falling-mountain-7'), + 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoiZmFsbGluZy1tb3VudGFpbi03In0.AKgRXHMQQMz6vJAKszXdY8zMFfsAgkoUeZHlI-Szz9E', + ) + .catchError((e) {}); final channel = client.channel('messaging', id: 'godevs');