Skip to content

Commit 01c3c8b

Browse files
committed
Restore the well-known's authentication object serialisation.
1 parent 1502316 commit 01c3c8b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

MatrixSDK/JSONModels/AutoDiscovery/MXWellKnown.m

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ - (id)initWithCoder:(NSCoder *)aDecoder
8888
_identityServer = [aDecoder decodeObjectForKey:kMXIdentityServerKey];
8989
_integrations = [aDecoder decodeObjectForKey:kMXIntegrationsKey];
9090
_tileServer = [aDecoder decodeObjectForKey:kMXTileServerKey];
91+
self.authentication = [aDecoder decodeObjectForKey:kMXAuthenticationKey];
9192
JSONDictionary = [aDecoder decodeObjectForKey:@"JSONDictionary"];
9293
}
9394
return self;
@@ -99,6 +100,7 @@ - (void)encodeWithCoder:(NSCoder *)aCoder
99100
[aCoder encodeObject:_identityServer forKey:kMXIdentityServerKey];
100101
[aCoder encodeObject:_integrations forKey:kMXIntegrationsKey];
101102
[aCoder encodeObject:_tileServer forKey:kMXTileServerKey];
103+
[aCoder encodeObject:self.authentication forKey:kMXAuthenticationKey];
102104
[aCoder encodeObject:JSONDictionary forKey:@"JSONDictionary"];
103105
}
104106

0 commit comments

Comments
 (0)