@@ -23,12 +23,6 @@ extension ChatMessageHidden on spreed.$ChatMessageInterface {
23
23
bool get isHidden => _hiddenMessages.contains (systemMessage);
24
24
}
25
25
26
- /// Helper extension for [spreed.$BaseMessageInterface]
27
- extension $BaseMessageInterfaceHelpers on spreed.$BaseMessageInterface {
28
- /// Parsed equivalent of [expirationTimestamp] .
29
- tz.TZDateTime get parsedExpirationTimestamp => DateTimeUtils .fromSecondsSinceEpoch (tz.local, expirationTimestamp);
30
- }
31
-
32
26
/// Helper extension for [spreed.$ChatMessageInterface]
33
27
extension $ChatMessageInterfaceHelpers on spreed.$ChatMessageInterface {
34
28
/// Parsed equivalent of [timestamp] .
@@ -39,18 +33,6 @@ extension $ChatMessageInterfaceHelpers on spreed.$ChatMessageInterface {
39
33
lastEditTimestamp != null ? DateTimeUtils .fromSecondsSinceEpoch (tz.local, lastEditTimestamp! ) : null ;
40
34
}
41
35
42
- /// Helper extension for [spreed.$ChatReminderInterface]
43
- extension $ChatReminderInterfaceHelpers on spreed.$ChatReminderInterface {
44
- /// Parsed equivalent of [timestamp] .
45
- tz.TZDateTime get parsedTimestamp => DateTimeUtils .fromSecondsSinceEpoch (tz.local, timestamp);
46
- }
47
-
48
- /// Helper extension for [spreed.$ReactionInterface]
49
- extension $ReactionInterfaceHelpers on spreed.$ReactionInterface {
50
- /// Parsed equivalent of [timestamp] .
51
- tz.TZDateTime get parsedTimestamp => DateTimeUtils .fromSecondsSinceEpoch (tz.local, timestamp);
52
- }
53
-
54
36
/// Returns if the Talk [feature] is supported on the instance.
55
37
bool hasFeature (BuildContext context, String feature) {
56
38
final capabilitiesBloc = NeonProvider .of <CapabilitiesBloc >(context);
0 commit comments