47 lines
1.3 KiB
Python
47 lines
1.3 KiB
Python
"""Business logic for the kommunikation plugin.
|
|
|
|
Re-export facade: implementations live in focused sub-modules
|
|
(serializers, conversations, participants, messages, interactions,
|
|
plugin_rooms). All public symbols stay importable from here.
|
|
"""
|
|
|
|
from app.plugins.builtins.kommunikation.conversations import ( # noqa: F401
|
|
create_conversation,
|
|
get_conversation,
|
|
list_conversations,
|
|
mute_conversation,
|
|
pin_conversation,
|
|
unmute_conversation,
|
|
unpin_conversation,
|
|
update_conversation,
|
|
)
|
|
from app.plugins.builtins.kommunikation.interactions import ( # noqa: F401
|
|
add_reaction,
|
|
mark_read,
|
|
remove_reaction,
|
|
)
|
|
from app.plugins.builtins.kommunikation.messages import ( # noqa: F401
|
|
MAX_TRIGGER_DEPTH,
|
|
delete_message,
|
|
edit_message,
|
|
get_messages,
|
|
send_message,
|
|
)
|
|
from app.plugins.builtins.kommunikation.participants import ( # noqa: F401
|
|
add_participant,
|
|
change_role,
|
|
remove_participant,
|
|
)
|
|
from app.plugins.builtins.kommunikation.plugin_rooms import ( # noqa: F401
|
|
create_plugin_room,
|
|
find_locked_room_id,
|
|
get_or_create_system_channel,
|
|
post_system_message,
|
|
)
|
|
from app.plugins.builtins.kommunikation.serializers import ( # noqa: F401
|
|
conversation_to_response,
|
|
message_to_response,
|
|
parse_mentions,
|
|
participant_to_response,
|
|
)
|