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