Commit 00a1400
Fix PersonaUser room subscription for new DM rooms
PersonaUser was only subscribing to data:rooms:updated events, missing
data:rooms:created events. When a new DM room was created with a persona
as a member, the persona never received the event and didn't subscribe
to chat messages for that room.
Fix: subscribeToRoomUpdates() now subscribes to BOTH events:
- data:rooms:updated (existing room membership changes)
- data:rooms:created (new rooms with persona as member)
Tested: DM with Helper AI + Legal LoRA adapter - persona now responds
to messages in newly created DM rooms.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent 66aacd1 commit 00a1400
File tree
1 file changed
+17
-8
lines changed1 file changed
+17
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
231 | 231 | | |
232 | 232 | | |
233 | 233 | | |
234 | | - | |
| 234 | + | |
235 | 235 | | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
236 | 240 | | |
237 | 241 | | |
238 | | - | |
239 | | - | |
240 | 242 | | |
241 | 243 | | |
242 | 244 | | |
243 | 245 | | |
244 | 246 | | |
245 | | - | |
246 | | - | |
247 | | - | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
248 | 250 | | |
249 | | - | |
250 | | - | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
251 | 260 | | |
252 | 261 | | |
253 | 262 | | |
| |||
0 commit comments