fix: remove sessionReady gate - process messages immediately to fix delivery delays
| .. | .. |
|---|
| 256 | 256 | |
|---|
| 257 | 257 | void _handleMessage(Map<String, dynamic> msg) { |
|---|
| 258 | 258 | 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 | | - } |
|---|
| 265 | 259 | |
|---|
| 266 | 260 | // Track sequence numbers for catch_up protocol |
|---|
| 267 | 261 | final seq = msg['seq'] as int?; |
|---|