From f94d73585c1b31e8b59f0bd3e16eed20ba83d0f1 Mon Sep 17 00:00:00 2001 From: "Bernd (Hermes)" Date: Sat, 25 Jul 2026 11:13:38 +0200 Subject: [PATCH] =?UTF-8?q?fix(P1):=20ISSUE=201=20=E2=80=94=20Button-Texte?= =?UTF-8?q?=20v6=E2=86=92v7=20aktualisiert?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - config.py: '2️⃣ Generell hier' → '2️⃣ Thema hier lassen' - adapter.py Z.2394: stay_here-Feedback themenbezogen statt raumbezogen - adapter.py Z.2450: Auto-Promote-Feedback themenbezogen - Semantik: raumbezogen → themenbezogen (24h/ Themenwechsel TTL) --- plugin/adapter.py | 4 ++-- plugin/archivar/config.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/plugin/adapter.py b/plugin/adapter.py index df3e00a..dc47344 100644 --- a/plugin/adapter.py +++ b/plugin/adapter.py @@ -2391,7 +2391,7 @@ class RocketChatAdapter(BasePlatformAdapter): ) except Exception as e: logger.warning("[rocketchat] Failed to persist sticky decision: %s", e) - await self._post_message_with_retry(room_id, "🔒 Verstanden — dieser Raum wird nicht mehr automatisch geroutet. (Gilt dauerhaft)") + await self._post_message_with_retry(room_id, "🔒 Verstanden — dieses Thema bleibt jetzt hier im Raum. (Themenbezogen, verfällt nach 24h oder Themenwechsel)") feedback_type = "never" else: # 3️⃣ Nur diesmal → Antwort im Ursprungsraum (nur diesmal, kein Sticky) @@ -2447,7 +2447,7 @@ class RocketChatAdapter(BasePlatformAdapter): self.archivar._state.set_never_route(room_id, topic) # V7-2: _sticky_rooms entfernt — thematisches never_route reicht logger.info("[rocketchat] Auto-promoted to never_route after %d stays in room %s, topic '%s'", count, room_id[:8], topic) - await self._post_message_with_retry(room_id, "🔒 Ich habe gemerkt, dass du hier bleiben möchtest — dieser Raum wird ab jetzt nicht mehr automatisch geroutet.") + await self._post_message_with_retry(room_id, "🔒 Gut erkannt — dieses Thema bleibt ab jetzt hier. (Verfällt nach 24h oder Themenwechsel)") except Exception as e: logger.warning("[rocketchat] Failed to auto-promote sticky: %s", e) diff --git a/plugin/archivar/config.py b/plugin/archivar/config.py index d2e27b4..ee1b08a 100644 --- a/plugin/archivar/config.py +++ b/plugin/archivar/config.py @@ -223,7 +223,7 @@ MOVE_REQUEST_TEMPLATE: dict = { "text": "Soll ich diese Nachricht nach {target_name} kopieren?", "actions": [ {"text": "1️⃣ Rüber", "type": "confirm_move"}, - {"text": "2️⃣ Generell hier", "type": "stay_here"}, + {"text": "2️⃣ Thema hier lassen", "type": "stay_here"}, {"text": "3️⃣ Nur diesmal", "type": "stay_once"}, ], }