flutter_supabase_chat_core
flutter_supabase_chat_core copied to clipboard
Update supabase_chat_core.dart
What does it do?
First of all, sorry about the formatting changes 😬 The change uses epoch millis for updatedAt
in method SupabaseChatCore.instance.updateRoom
instead of DateTime.now()
Why is it needed?
You cannot update a room when providing a flutter DateTime type in the call.
How to test it?
Try to update a room before this change, look at the error. Then use this PR and your room will update 👍
Related issues/PRs
Nope, just fixing it.