mirror of
https://github.com/urbit/shrub.git
synced 2025-01-03 01:54:43 +03:00
chat: address migration of missing owner in unmanaged groups
This commit is contained in:
parent
1aace5cc07
commit
c29b3d8167
@ -397,8 +397,8 @@
|
||||
=/ group=(unit group)
|
||||
(scry-group:grp group-rid)
|
||||
:- (add-graph app-rid mailbox)
|
||||
?~ group ~
|
||||
?. &((lte ~(wyt in members.u.group) 1) hidden.u.group) ~
|
||||
?~ group (archive-graph app-rid)^~
|
||||
?. &(=(~ members.u.group) hidden.u.group) ~
|
||||
~& >>> "archiving {<app-rid>}"
|
||||
:~ (archive-graph app-rid)
|
||||
(remove-group group-rid)
|
||||
|
@ -19,6 +19,8 @@
|
||||
=/ =action:group-store
|
||||
[%add-group rid policy.associated %&]
|
||||
;< ~ bind:m (poke-our %group-store %group-action !>(action))
|
||||
;< =bowl:spider bind:m get-bowl:strandio
|
||||
;< ~ bind:m (poke-our %group-store %group-action !>([%add-members rid (sy our.bowl ~)]))
|
||||
;< ~ bind:m
|
||||
(poke-our %group-push-hook %push-hook-action !>([%add rid]))
|
||||
(pure:m rid)
|
||||
|
Loading…
Reference in New Issue
Block a user