about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--org-clubhouse.el15
1 files changed, 10 insertions, 5 deletions
diff --git a/org-clubhouse.el b/org-clubhouse.el
index 95a59bff90c1..3be5b4098395 100644
--- a/org-clubhouse.el
+++ b/org-clubhouse.el
@@ -911,11 +911,16 @@ element."
                        is not set")
                        nil))))
 
-            (org-clubhouse-update-story-internal
-             clubhouse-id
-             :workflow_state_id workflow-state-id
-             :owner_ids (when update-assignee?
-                          (list (org-clubhouse-whoami))))
+            (if update-assignee?
+                (org-clubhouse-update-story-internal
+                 clubhouse-id
+                 :workflow_state_id workflow-state-id
+                 :owner_ids (if update-assignee?
+                                (list (org-clubhouse-whoami))
+                              (list)))
+              (org-clubhouse-update-story-internal
+                 clubhouse-id
+                 :workflow_state_id workflow-state-id))
             (message
              (if update-assignee?
                  "Successfully claimed story and updated clubhouse status to \"%s\""