]> git.cworth.org Git - turbot/commitdiff
Drop use of response_url in button handlers
authorCarl Worth <cworth@cworth.org>
Mon, 11 Jan 2021 17:54:57 +0000 (09:54 -0800)
committerCarl Worth <cworth@cworth.org>
Mon, 11 Jan 2021 17:54:57 +0000 (09:54 -0800)
Some buttons appear in a context, (like the app's "Home" view), where
there is no response_url, (we can't generate a message there). So we
can't rely on this. And we don't need to anyway, we can use the string
in the reteurn value to get an error message out to the user.

This commit should fix a bunch of broken puzzle edits button in the
Turbot "home" view.


No differences found