mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-01 03:23:09 +03:00
herm: stop sending %hail on-connect
Client will probably want to send a %blew first anyway. By not doing any screen refreshed in herm, we avoid doing unnecessary redraws on-connect.
This commit is contained in:
parent
890e5f1e9b
commit
8da6c20f70
@ -44,17 +44,12 @@
|
||||
~| path
|
||||
?> ?=([%session @ %view ~] path)
|
||||
=* ses i.t.path
|
||||
:~ :: subscribe to the requested session
|
||||
::
|
||||
::NOTE multiple views do not result in multiple subscriptions
|
||||
:: because they go over the same wire/duct
|
||||
::
|
||||
(pass-session ses %view ~)
|
||||
:: tell session to refresh, so new client knows what's on screen
|
||||
::TODO should client be responsible for this?
|
||||
::
|
||||
(pass-session ses %hail ~)
|
||||
==
|
||||
:: subscribe to the requested session
|
||||
::
|
||||
::NOTE multiple views do not result in multiple subscriptions
|
||||
:: because they go over the same wire/duct
|
||||
::
|
||||
[(pass-session ses %view ~)]~
|
||||
::
|
||||
++ on-arvo
|
||||
|= [=wire =sign-arvo]
|
||||
|
Loading…
Reference in New Issue
Block a user