added comment explaining purpose of filter

pull/1423/head
ggurdin 1 year ago
parent b630d5f1d2
commit 061fd361a6
No known key found for this signature in database
GPG Key ID: A01CB41737CBB478

@ -21,6 +21,8 @@ extension IsStateExtension on Event {
(isState || !AppConfig.hideAllStateEvents) &&
// #Pangea
content.tryGet(ModelKey.transcription) == null &&
// if sending of transcription fails,
// don't show it as a errored audio event in timeline.
((unsigned?['extra_content']
as Map<String, dynamic>?)?[ModelKey.transcription] ==
null) &&

Loading…
Cancel
Save