Added logging

Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
This commit is contained in:
Marcus Noble 2022-02-28 08:21:45 +00:00
parent 41008e4dee
commit 8cb15b4cf2
Signed by: AverageMarcus
GPG Key ID: B8F2DB8A7AEBAF78

View File

@ -29,8 +29,10 @@ New Message from: %s
> %s`, payload.From, payload.Text)
fmt.Println(msg)
_, err := matrixClient.SendMessageEvent(
id.RoomID(getRoom("SMS")),
id.RoomID(getRoom("pCzzyaOZfCrorkdgOR")),
event.EventMessage,
format.RenderMarkdown(msg, true, true),
)