This commit is contained in:
Sorunome 2020-07-24 15:37:00 +02:00
parent ff2de35d28
commit 9cb4dab9d4
No known key found for this signature in database
GPG key ID: B19471D07FC9BE9C

View file

@ -41,8 +41,7 @@ class MatrixEvent extends StrippedStateEvent {
unsigned = json['unsigned'] != null unsigned = json['unsigned'] != null
? Map<String, dynamic>.from(json['unsigned']) ? Map<String, dynamic>.from(json['unsigned'])
: null; : null;
prevContent = prevContent = json['prev_content'] != null
json.containsKey('prev_content') && json['prev_content'] != null
? Map<String, dynamic>.from(json['prev_content']) ? Map<String, dynamic>.from(json['prev_content'])
: null; : null;
redacts = json['redacts']; redacts = json['redacts'];