Add the following to the textMessageCreationResponder in keyserver/src/responders/message-responders.js, right before return:
```
const reportedMessage = await fetchMessageInfoByID(
viewer,
rawMessageInfos[0].id ?? '84445', // some message id, this is for flow
);
const thread = await serverThreadInfoFromMessageInfo(reportedMessage);
if (reportedMessage) {
await createMessageReport(viewer, reportedMessage, thread, '256');
}
```
And see that when a user sends a message, ashoat user recievies a message from commbot saying
>user user_name reported user_name’s message in chat titled chat_name
>> message
So basically the message that is sent is also reported by the author
See that when chat between commbot and ashoat user doesn't exists it gets created, and when it exists it isn't created again, just a new message appears in the chat.
I also checked that when something fails and a variable gets the value of '[null]' or null, depending on what is possible, the app doesn't crash and behaves reasonably. I did that by setting these variables to these values by hand.