Switched to default room

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

View File

@ -13,7 +13,7 @@ import (
type NexmoSMS struct {
ID string `json:"messageId"`
From string `json:"msisdn"`
Text string `json:"test"`
Text string `json:"text"`
Type string `json:"type"`
}
@ -32,7 +32,7 @@ New Message from: %s
fmt.Println(msg)
_, err := matrixClient.SendMessageEvent(
id.RoomID(getRoom("pCzzyaOZfCrorkdgOR")),
id.RoomID(getRoom(*defaultRoom)),
event.EventMessage,
format.RenderMarkdown(msg, true, true),
)