Merge remote-tracking branch 'origin/ref/segregate-api-layer' into ref/segregate-api-layer
This commit is contained in:
@@ -3,5 +3,5 @@
|
||||
# Fast fail the script on failures.
|
||||
set -e
|
||||
|
||||
pub global activate remove_from_coverage
|
||||
pub global activate remove_from_coverage --overwrite
|
||||
pub global run remove_from_coverage:remove_from_coverage -f coverage/lcov.info -r '\.g\.dart$' -r '\.freezed\.dart$'
|
||||
@@ -125,7 +125,8 @@ class StreamChatCoreState extends State<StreamChatCore>
|
||||
_isConnectionAvailable = result != ConnectivityResult.none;
|
||||
if (!_isInForeground) return;
|
||||
if (_isConnectionAvailable) {
|
||||
if (client.wsConnectionStatus == ConnectionStatus.disconnected) {
|
||||
if (client.wsConnectionStatus == ConnectionStatus.disconnected &&
|
||||
user != null) {
|
||||
client.openConnection();
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user