Iconica-Development / flutter_chat

Add a (personal or group) chat to your Flutter-application.
BSD 3-Clause "New" or "Revised" License
2 stars 0 forks source link

Can't send chatmessage without opening chatstream #26

Closed freekvandeven closed 10 months ago

freekvandeven commented 11 months ago

when calling the firebasechatmessageService sendMessage method. It will use a controller in the code that is late initialized but not always. If you send the message without first opening a messagestream for that chat it will get an exception. The controller should be nullable or something so we can safely send messages without having opened a stream for that chat.