We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 72067fd commit 0c1951eCopy full SHA for 0c1951e
Sources/Database/Realm/Model/ChannelRealmObject.swift
@@ -52,7 +52,7 @@ public final class ChannelRealmObject: Object {
52
deleted = channel.deleted
53
frozen = channel.frozen
54
members.append(objectsIn: channel.members.map({ MemberRealmObject(member: $0) }))
55
- config = ConfigRealmObject(config: channel.config)
+ config = channel.config.isEmpty ? ConfigRealmObject() : ConfigRealmObject(config: channel.config)
56
extraData = channel.extraData?.encode()
57
58
if let createdBy = channel.createdBy {
0 commit comments