mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-09-21 15:38:59 +03:00
ames: don't say not responding if we haven't been talking
This commit is contained in:
parent
dd85ca6051
commit
9bc6ccb7fc
@ -1846,6 +1846,15 @@
|
||||
++ on-memo
|
||||
|= [=bone payload=* valence=?(%plea %boon)]
|
||||
^+ peer-core
|
||||
:: if we haven't been trying to talk to %live, reset timer
|
||||
::
|
||||
=? last-contact.qos.peer-state
|
||||
?& ?=(%live -.qos.peer-state)
|
||||
%- ~(all by snd.peer-state)
|
||||
|= =message-pump-state
|
||||
=(~ live.packet-pump-state.message-pump-state)
|
||||
==
|
||||
now
|
||||
::
|
||||
=/ =message-blob (jam payload)
|
||||
=. peer-core (run-message-pump bone %memo message-blob)
|
||||
|
Loading…
Reference in New Issue
Block a user