diff --git a/services/api/architecture.md b/services/api/architecture.md index 6e5ea406..6f2b5a4f 100644 --- a/services/api/architecture.md +++ b/services/api/architecture.md @@ -17,7 +17,7 @@ The uniquely identifiable _entity_ representing a message in the system is a {@l 1. An {@link domain/entities/messages/message!IncomingMessage | IncomingMessage} represents a new message received by the system. At this point it has not been processed or stored. 2. A message prefixed with a forward slash (e.g. `/help`) is considered to be a command, represented by an {@link domain/entities/commands!IncomingCommand | IncomingCommand}. 3. A newly generated message which has not yet been dispatched is a {@link domain/entities/messages/message!DraftMessage | DraftMessage}. -4. A draft message is sent to the message {@link domain/entities/messages/message!Dispatcher | Dispatcher} which will sent the message to the appropriate room and store it in the room's history as a {@link domain/entities/messages/message!SentMessage | SentMessage}. +4. A draft message is sent to the message {@link domain/entities/messages/message!Dispatcher | Dispatcher} which will send the message to the appropriate room and store it in the room's history as a {@link domain/entities/messages/message!SentMessage | SentMessage}. The entrypoint to the messaging pipeline is the {@link app/messages/messages-service.MessagesService | MessagesService}. A simplified view of this service looks like this: