bridge thread replies from matrix to email

This commit is contained in:
Aine
2022-11-10 21:58:29 +02:00
parent 19dec770b9
commit f835a7560d
6 changed files with 78 additions and 35 deletions

View File

@@ -20,6 +20,9 @@ func (b *Bot) handle(ctx context.Context) {
message := strings.TrimSpace(content.Body)
cmd := b.parseCommand(message, true)
if cmd == nil {
if content.RelatesTo != nil {
b.SendEmailReply(ctx)
}
return
}