Commit 8120c11
fix(concord): open a channel we can actually read
The channel summary carried only id and name, so the UI could not tell a
readable channel from a locked one and simply took the first. Landing in a
private channel we hold no key for renders empty and refuses every send, which
reads as the community being broken rather than as one channel being locked.
Summaries now carry `private` + `readable`, and navigation prefers a readable
channel — falling back to the first when nothing is readable, so a community
can never become unopenable.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>1 parent 8910c3d commit 8120c11
2 files changed
Lines changed: 21 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
101 | 107 | | |
102 | 108 | | |
103 | 109 | | |
| |||
119 | 125 | | |
120 | 126 | | |
121 | 127 | | |
122 | | - | |
| 128 | + | |
123 | 129 | | |
124 | 130 | | |
125 | 131 | | |
| |||
147 | 153 | | |
148 | 154 | | |
149 | 155 | | |
| 156 | + | |
| 157 | + | |
150 | 158 | | |
151 | 159 | | |
152 | 160 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2090 | 2090 | | |
2091 | 2091 | | |
2092 | 2092 | | |
| 2093 | + | |
| 2094 | + | |
2093 | 2095 | | |
2094 | 2096 | | |
2095 | 2097 | | |
| |||
2118 | 2120 | | |
2119 | 2121 | | |
2120 | 2122 | | |
2121 | | - | |
| 2123 | + | |
| 2124 | + | |
| 2125 | + | |
| 2126 | + | |
| 2127 | + | |
| 2128 | + | |
2122 | 2129 | | |
2123 | 2130 | | |
2124 | 2131 | | |
2125 | 2132 | | |
2126 | 2133 | | |
2127 | 2134 | | |
2128 | 2135 | | |
2129 | | - | |
| 2136 | + | |
| 2137 | + | |
| 2138 | + | |
2130 | 2139 | | |
2131 | | - | |
| 2140 | + | |
2132 | 2141 | | |
2133 | 2142 | | |
2134 | 2143 | | |
| |||
0 commit comments