Repository navigation
Commit cf907be
committed
Send a room-scoped line by naming the room
A Bot's line to a friend's Bot that is only in a room with it was refused
with no_relationship: bot-social decides reach from the pair's grants, and
a room claim writes a status='room' relationship that findActiveRelationship
does not read (#866, bot-social #43/#50).
Both send paths now name the room on send_as_member when roomContextFor
finds one open room here that holds both Bots, so the server's room-scoped
grant is the reach the pair already holds. Room lines (via room/room-share)
and a local shared room (#864) name none: a local room has no id on the
server, and naming one only earns room_not_shared. A room-scoped refusal is
reported as the room's answer, never retried on another Bot of mine.1 parent 690093b commit cf907be
4 files changed
Lines changed: 177 additions & 125 deletions
File tree
- changelog.d
- docs/subsystems
- plugins/social
- src
- test
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
0 commit comments