diff --git a/lib/room.dart b/lib/room.dart index 2615e59..0f3baca 100644 --- a/lib/room.dart +++ b/lib/room.dart @@ -89,9 +89,8 @@ class _RoomPageState extends State { textInputAction: TextInputAction.send, decoration: const InputDecoration(hintText: 'Message'), onFieldSubmitted: (value) async { - print("Sending text event $value to room ${widget.room.id}..."); - await widget.room.sendTextEvent(value); chatController.text = ''; + await widget.room.sendTextEvent(value); }, ), ];