fix: V8.3.4.1 — B3 Substring-Fix + Echte Integration-Tests
This commit is contained in:
+5
-1
@@ -1835,7 +1835,11 @@ class RocketChatAdapter(BasePlatformAdapter):
|
||||
if room_map is not None:
|
||||
for rid, entry in room_map.rooms.items():
|
||||
entry_name = entry.name.lstrip('#').lower().replace(' ', '-')
|
||||
if switch_room_name in entry_name or entry_name in switch_room_name:
|
||||
# V8.3.4.1 F1: Exakter Match statt Substring-Injection.
|
||||
# 'Plugin' darf NICHT 'Rocketchat-Plugin' matchen.
|
||||
if switch_room_name == entry_name or any(
|
||||
kw.lower() == switch_room_name for kw in entry.keywords_100
|
||||
):
|
||||
target_room_id = rid
|
||||
target_room_display = entry.name
|
||||
break
|
||||
|
||||
Reference in New Issue
Block a user