mirror of
https://github.com/ilyakooo0/urbit.git
synced 2025-01-07 07:30:23 +03:00
publish: only delete group in unsubscribe action if the notebook is unmanaged
This commit is contained in:
parent
bb3055677d
commit
b3a7266440
@ -1811,12 +1811,16 @@
|
|||||||
(de-path:resource writers.book)
|
(de-path:resource writers.book)
|
||||||
=/ =group
|
=/ =group
|
||||||
(need (scry-group:grup rid))
|
(need (scry-group:grup rid))
|
||||||
:_ state(books (~(del by books) who.act book.act))
|
=/ cards=(list card)
|
||||||
:~ `card`[%pass wir %agent [who.act %publish] %leave ~]
|
:~ [%pass wir %agent [who.act %publish] %leave ~]
|
||||||
`card`[%give %fact [/primary]~ %publish-primary-delta !>(del)]
|
[%give %fact [/primary]~ %publish-primary-delta !>(del)]
|
||||||
(group-proxy-poke who.act %remove-members rid (sy our.bol ~))
|
==
|
||||||
|
=? cards hidden.group
|
||||||
|
%+ weld cards
|
||||||
|
:~ (group-proxy-poke who.act %remove-members rid (sy our.bol ~))
|
||||||
(group-poke %remove-group rid ~)
|
(group-poke %remove-group rid ~)
|
||||||
==
|
==
|
||||||
|
[cards state(books (~(del by books) who.act book.act))]
|
||||||
:: %read
|
:: %read
|
||||||
::
|
::
|
||||||
%read
|
%read
|
||||||
|
Loading…
Reference in New Issue
Block a user