parent
40f5d0f459
commit
f6aaf49164
1 changed files with 1041 additions and 144 deletions
6
lib/helpers/extensions/send_failed.dart
Normal file
6
lib/helpers/extensions/send_failed.dart
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
import "package:nexus/models/event.dart";
|
||||
|
||||
extension SendFailed on Event {
|
||||
/// gomuks marks events that are still sending as "not sent" (and often forgets to clear it at all)
|
||||
bool get sendFailed => sendError != null && sendError != "not sent";
|
||||
}
|
||||
Loading…
Reference in a new issue