Skip to content

Commit 0bdfa89

Browse files
authored
Update supabase_chat_core.dart (#11)
Fixed update room call
1 parent b65056b commit 0bdfa89

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
## [1.0.1] - 2024-08-30
2+
#### [@rickypid](https://github.com/rickypid)
3+
4+
### Fixed
5+
6+
* Fixed update room call
7+
18
## [1.0.0] - 2024-06-19
29
#### [@rickypid](https://github.com/rickypid)
310

lib/src/class/supabase_chat_core.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -472,7 +472,7 @@ class SupabaseChatCore {
472472

473473
return messageMap;
474474
}).toList();
475-
roomMap['updatedAt'] = DateTime.now();
475+
roomMap['updatedAt'] = DateTime.now().millisecondsSinceEpoch;
476476
roomMap['userIds'] = room.users.map((u) => u.id).toList();
477477

478478
await client

0 commit comments

Comments
 (0)