fix(P1): ISSUE 1 — Button-Texte v6→v7 aktualisiert
- 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)
This commit is contained in:
+2
-2
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user