Repository navigation
Commit 30ae81e
committed
fix(mattermost): persist threadId in delivery context for all session types
Previously updateLastRoute was only called for DM (kind === direct) sessions.
For group/channel sessions with threads, the deliveryContext never stored
threadId, so cron/heartbeat wakeups targeting a thread-scoped session had no
thread context and delivered replies to the channel root.
Remove the kind === direct guard so delivery context is persisted for all
session types, including thread-scoped sessions.
Fixes #45082 case 2: cron/heartbeat wake replies landing at channel root.1 parent f7ced43 commit 30ae81e
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1380 | 1380 | | |
1381 | 1381 | | |
1382 | 1382 | | |
1383 | | - | |
| 1383 | + | |
| 1384 | + | |
| 1385 | + | |
| 1386 | + | |
1384 | 1387 | | |
1385 | 1388 | | |
1386 | 1389 | | |
| |||
1392 | 1395 | | |
1393 | 1396 | | |
1394 | 1397 | | |
| 1398 | + | |
1395 | 1399 | | |
1396 | 1400 | | |
1397 | 1401 | | |
| |||
0 commit comments