fix: Reply on stories with empty string

This commit is contained in:
Christian Pauly 2022-02-16 07:19:05 +01:00
parent 24ea7daccf
commit 7cb01bce07

View File

@ -67,6 +67,7 @@ class StoryPageController extends State<StoryPage> {
void replyAction([String? message]) async { void replyAction([String? message]) async {
message ??= replyController.text; message ??= replyController.text;
if (message.isEmpty) return;
final currentEvent = this.currentEvent; final currentEvent = this.currentEvent;
if (currentEvent == null) return; if (currentEvent == null) return;
setState(() { setState(() {