fix(work): show attachment delivery separately from text replies

This commit is contained in:
ex_tianzy
2026-11-12 16:16:44 +08:00
parent 26bb8de927
commit a33ce02fa6
3 changed files with 26 additions and 5 deletions
+1 -1
View File
@@ -43,7 +43,7 @@ class TaskDelivery:
self.cards=None
if auth.s.work_task_cards_enabled:
from .task_cards import TaskCards
self.cards=TaskCards(state,platform,broker.worker_id)
self.cards=TaskCards(state,platform,broker.worker_id,files_enabled=auth.s.work_files_enabled)
def current(self, body):
self.auth.require_binding(body.host_id,body.binding_owner,body.binding_generation)