mirror of
https://github.com/ilyakooo0/urbit.git
synced 2025-01-03 12:42:48 +03:00
chat: removed extraneous prints
This commit is contained in:
parent
14b28a3d82
commit
2b15010e66
@ -426,7 +426,6 @@
|
||||
++ fact-permission-update
|
||||
|= [wir=wire fact=permission-update]
|
||||
^- (quip card _state)
|
||||
~& upd+fact
|
||||
|^
|
||||
:_ state
|
||||
?+ -.fact ~
|
||||
@ -448,7 +447,6 @@
|
||||
%- zing
|
||||
%+ turn ~(tap in who)
|
||||
|= =ship
|
||||
~& ship
|
||||
?: (is-permitted ship chat)
|
||||
?: ?|(=(kind %remove) =(ship our.bol)) ~
|
||||
:: if ship has just been added to the permitted group,
|
||||
|
@ -215,7 +215,6 @@
|
||||
::
|
||||
%delete
|
||||
=/ group-path (group-from-chat app-path.act)
|
||||
~& delete+group-path
|
||||
?> ?=(^ app-path.act)
|
||||
%- zing
|
||||
:~ :~ (chat-hook-poke [%remove app-path.act])
|
||||
@ -340,7 +339,6 @@
|
||||
(scot %da now.bol)
|
||||
/resource-indices
|
||||
==
|
||||
~& resource-indices
|
||||
=/ groups=(set path) (~(got by resource-indices) [%chat app-path])
|
||||
(snag 0 ~(tap in groups))
|
||||
::
|
||||
@ -348,7 +346,6 @@
|
||||
|= =path
|
||||
^- ?
|
||||
?> ?=(^ path)
|
||||
~& is-managed+!=(i.path '~')
|
||||
!=(i.path '~')
|
||||
--
|
||||
::
|
||||
|
@ -117,7 +117,6 @@
|
||||
(snoc (recreate-permissions perm-paths associate) (watch-group group))
|
||||
::
|
||||
=/ grp (group-scry group)
|
||||
~& associate+grp
|
||||
=. u.perms (~(uni in u.perms) perm-paths)
|
||||
:_ state(relation (~(put by relation) group u.perms))
|
||||
%+ weld
|
||||
@ -177,9 +176,7 @@
|
||||
::
|
||||
%unbundle
|
||||
:: pull subscriptions
|
||||
~& %unbundle
|
||||
=/ perms (~(get by relation) pax.diff)
|
||||
~& perms
|
||||
?~ perms
|
||||
:_ state(relation (~(del by relation) pax.diff))
|
||||
[(group-pull pax.diff)]~
|
||||
|
@ -69,7 +69,6 @@ export class JoinScreen extends Component {
|
||||
|
||||
station = station.join('/');
|
||||
|
||||
console.log(sig, station.split('/').length, ship);
|
||||
if (
|
||||
(!sig && station.split('/').length < 2) ||
|
||||
(!!sig && station.split('/').length < 3) ||
|
||||
|
Loading…
Reference in New Issue
Block a user