Matthias Nott
2026-04-04 7b1e06eb1cdb11af8e388b6cbcb2ec46a6826114
lib/screens/chat_screen.dart
....@@ -256,12 +256,6 @@
256256
257257 void _handleMessage(Map<String, dynamic> msg) {
258258 final type = msg['type'] as String?;
259
- // Sessions and catch_up always process immediately
260
- // Content messages (text, voice, image) wait until session is ready
261
- if (!_sessionReady && type != 'sessions' && type != 'catch_up' && type != 'status' && type != 'typing') {
262
- _pendingMessages.add(msg);
263
- return;
264
- }
265259
266260 // Track sequence numbers for catch_up protocol
267261 final seq = msg['seq'] as int?;