Commit 3779f15
fix: only drop unknown-channel posts after API fallback also fails
Codex review: dropping immediately when payload.data.channel_type is missing
lost messages that the API lookup could have recovered. Now the early guard
only drops when both the event field AND the resolveChannelInfo API fallback
return unknown. The second resolveChannelInfo call hits the cache (same tick)
so no extra network request is made.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 0eb76ff commit 3779f15
1 file changed
Lines changed: 12 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1020 | 1020 | | |
1021 | 1021 | | |
1022 | 1022 | | |
| 1023 | + | |
| 1024 | + | |
1023 | 1025 | | |
1024 | 1026 | | |
1025 | | - | |
1026 | | - | |
1027 | | - | |
1028 | | - | |
| 1027 | + | |
| 1028 | + | |
| 1029 | + | |
| 1030 | + | |
| 1031 | + | |
| 1032 | + | |
| 1033 | + | |
| 1034 | + | |
| 1035 | + | |
| 1036 | + | |
1029 | 1037 | | |
1030 | 1038 | | |
1031 | 1039 | | |
| |||
0 commit comments