mirror of
https://github.com/urbit/shrub.git
synced 2024-12-18 15:55:00 +03:00
link-store: reject pokes without content
This commit is contained in:
parent
deb3d26d3f
commit
2df646bd0a
@ -202,7 +202,7 @@
|
||||
++ save-page
|
||||
|= [=path title=@t =url]
|
||||
^- (quip card _state)
|
||||
?< =(~ path)
|
||||
?< |(=(~ path) =(~ title) =(~ url))
|
||||
:: add page to group ours
|
||||
::
|
||||
=/ =links (~(gut by by-group) path *links)
|
||||
@ -228,6 +228,7 @@
|
||||
++ note-note
|
||||
|= [=path =url udon=@t]
|
||||
^- (quip card _state)
|
||||
?< |(=(~ path) =(~ url) =(~ udon))
|
||||
:: add note to discussion ours
|
||||
::
|
||||
=/ urls (~(gut by discussions) path *(map ^url discussion))
|
||||
|
Loading…
Reference in New Issue
Block a user