]> git.cworth.org Git - turbot/commitdiff
Revert "Turbot home: Disable the 'Hunts you can join' section"
authorCarl Worth <cworth@cworth.org>
Tue, 5 Jan 2021 02:10:33 +0000 (18:10 -0800)
committerCarl Worth <cworth@cworth.org>
Tue, 5 Jan 2021 02:10:33 +0000 (18:10 -0800)
This reverts commit e3385b6a7da4583ab7c0729ac6776a32aa2818a0
which disabled some code to prevent a bug that was causing the
turbot Home view to fail to work.

The previous commit fixes the underyling bug so this code can now be
safely re-enabled.

turbot/events.py

index ffe13d82d246763253a32866a6f32a5d96482b8c..70f18a602676652139ed26b33a2c9d3126ebbafa 100644 (file)
@@ -170,6 +170,7 @@ def home(turb, user_id):
         "type": "home",
         "blocks": [
             * my_hunt_blocks,
+            * available_hunt_blocks,
             actions_block(button_block("New hunt", "new_hunt"))
         ]
     }