Skip to content

Commit

Permalink
Wip views
Browse files Browse the repository at this point in the history
  • Loading branch information
riccardocucia committed Nov 19, 2024
1 parent 388364d commit 3953d4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/class/supabase_chat_core.dart
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ class SupabaseChatCore {
/// Returns a stream of online user state from Supabase Realtime.
Stream<UserOnlineStatus> userOnlineStatus(String uid) {
final controller = StreamController<UserOnlineStatus>();
if(_onlineUserChannels[uid]==null) {
if (_onlineUserChannels[uid] == null) {
_onlineUserChannels[uid] = _getUserOnlineStatusChannel(uid);
_onlineUserChannels[uid]!.onPresenceJoin((payload) {
controller.sink.add(_userStatus(payload.newPresences, uid));
Expand Down

0 comments on commit 3953d4c

Please sign in to comment.