[StreamChatPersistence] Fix connectionEventEntity, MessageDao

Signed-off-by: Sahil Kumar <[email protected]>
This commit is contained in:
Sahil Kumar
2021-01-26 15:58:11 +05:30
parent 82fee14f68
commit a168d3695d
9 changed files with 35 additions and 34 deletions
@@ -5,9 +5,9 @@ import 'package:stream_chat_persistence/src/db/moor_chat_database.dart';
///
extension ConnectionEventX on ConnectionEventEntity {
///
Event toEvent({User user}) {
Event toEvent() {
return Event(
me: user,
me: ownUser != null ? OwnUser.fromJson(ownUser) : null,
totalUnreadCount: totalUnreadCount,
unreadChannels: unreadChannels,
);