refactor(block-h): resolve CommConversation hardcoding via kommunikation contract
This commit is contained in:
@@ -31,6 +31,7 @@ from app.plugins.builtins.kommunikation.participant_registry import (
|
||||
)
|
||||
from app.plugins.builtins.kommunikation.services import (
|
||||
create_plugin_room,
|
||||
find_locked_room_id,
|
||||
get_conversation,
|
||||
get_messages,
|
||||
parse_mentions,
|
||||
@@ -55,6 +56,7 @@ class KommunikationContract:
|
||||
get_messages = staticmethod(get_messages)
|
||||
send_message = staticmethod(send_message)
|
||||
create_plugin_room = staticmethod(create_plugin_room)
|
||||
find_locked_room_id = staticmethod(find_locked_room_id)
|
||||
|
||||
# ─── participant registry ───
|
||||
get_participant_registry = staticmethod(get_participant_registry)
|
||||
@@ -92,6 +94,7 @@ __all__ = [
|
||||
"get_messages",
|
||||
"send_message",
|
||||
"create_plugin_room",
|
||||
"find_locked_room_id",
|
||||
"CommConversation",
|
||||
"CommMessage",
|
||||
"CommParticipant",
|
||||
|
||||
Reference in New Issue
Block a user