mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-09-11 02:35:34 +03:00
clay: Drop foreign %wris responses
This flow is not supported, and it was causing issues releasing 416. This change just drops the responses to avoid crashing, but at some point we should either support this flow or reject the request in the first place.
This commit is contained in:
parent
8a013d147d
commit
9d56637916
@ -464,6 +464,7 @@
|
||||
$: %clay ::
|
||||
$> $? %mere ::
|
||||
%writ ::
|
||||
%wris ::
|
||||
== ::
|
||||
gift ::
|
||||
== ::
|
||||
@ -5822,6 +5823,7 @@
|
||||
[mos ..^$]
|
||||
::
|
||||
?: ?=([%foreign-warp *] tea)
|
||||
?: ?=(%wris +<.hin) ~& %dropping-wris `..^$
|
||||
?> ?=(%writ +<.hin)
|
||||
:_ ..^$
|
||||
[hen %give %boon `(unit rand)`(bind `riot`p.hin rant-to-rand)]~
|
||||
@ -5973,6 +5975,7 @@
|
||||
%boon !!
|
||||
%lost !!
|
||||
%unto !!
|
||||
%wris ~& %strange-wris !!
|
||||
%writ
|
||||
%- (slog leaf+"clay: strange writ (expected on upgrade to Fusion)" ~)
|
||||
[~ ..^$]
|
||||
|
Loading…
Reference in New Issue
Block a user