|
|
@ -739,6 +739,7 @@ class ChatController extends State<Chat> {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void onInputBarChanged(String text) {
|
|
|
|
void onInputBarChanged(String text) {
|
|
|
|
|
|
|
|
if (text.endsWith(' ') && matrix.hasComplexBundles) {
|
|
|
|
final clients = currentRoomBundle;
|
|
|
|
final clients = currentRoomBundle;
|
|
|
|
for (final client in clients) {
|
|
|
|
for (final client in clients) {
|
|
|
|
final prefix = client.sendPrefix;
|
|
|
|
final prefix = client.sendPrefix;
|
|
|
@ -752,6 +753,7 @@ class ChatController extends State<Chat> {
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
typingCoolDown?.cancel();
|
|
|
|
typingCoolDown?.cancel();
|
|
|
|
typingCoolDown = Timer(Duration(seconds: 2), () {
|
|
|
|
typingCoolDown = Timer(Duration(seconds: 2), () {
|
|
|
|
typingCoolDown = null;
|
|
|
|
typingCoolDown = null;
|
|
|
|