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
? Map<String, dynamic>.from(json['unsigned'])
: null;
prevContent =
json.containsKey('prev_content') && json['prev_content'] != null
prevContent = json['prev_content'] != null
? Map<String, dynamic>.from(json['prev_content'])
: null;
redacts = json['redacts'];