SendMessageUseCase
Use case for sending a message over the mesh network.
This component orchestrates the process of:
Resolving the destination and sender information.
Handling implicit actions for direct messages (e.g., sharing contacts, favoriting).
Applying message transformations (e.g., homoglyph encoding).
Persisting the outgoing message in the local history.
Enqueuing the message for durable delivery via the platform's message queue.
This implementation is platform-agnostic and relies on injected repositories and controllers.
Inheritors
Functions
Sends the stored message uuid again in place. The row keeps its uuid, timestamp, text and reply link and gets a fresh packet id and a queued status, so it stays where it was in the conversation and delivery status updates on it. A refused or failed send leaves the row as it was.