Merge branch 'main' into krille/implement-jitsi

This commit is contained in:
Krille-chan 2026-03-21 11:09:42 +01:00 committed by Christian Kußowski
commit 19d8ceae03
No known key found for this signature in database
GPG key ID: E067ECD60F1A0652
14 changed files with 59 additions and 36 deletions

View file

@ -553,6 +553,7 @@ class ChatController extends State<ChatPageWithRoom>
timeline?.cancelSubscriptions();
timeline = null;
inputFocus.removeListener(_inputFocusListener);
if (currentlyTyping) room.setTyping(false);
super.dispose();
}
@ -1289,6 +1290,7 @@ class ChatController extends State<ChatPageWithRoom>
if (AppSettings.sendTypingNotifications.value) {
typingCoolDown?.cancel();
typingCoolDown = Timer(const Duration(seconds: 2), () {
if (!mounted) return;
typingCoolDown = null;
currentlyTyping = false;
room.setTyping(false);