Switched to default room
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
This commit is contained in:
parent
8cb15b4cf2
commit
8532a10491
4
nexmo.go
4
nexmo.go
@ -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),
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user