Added logging
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
This commit is contained in:
parent
41008e4dee
commit
8cb15b4cf2
4
nexmo.go
4
nexmo.go
@ -29,8 +29,10 @@ New Message from: %s
|
|||||||
|
|
||||||
> %s`, payload.From, payload.Text)
|
> %s`, payload.From, payload.Text)
|
||||||
|
|
||||||
|
fmt.Println(msg)
|
||||||
|
|
||||||
_, err := matrixClient.SendMessageEvent(
|
_, err := matrixClient.SendMessageEvent(
|
||||||
id.RoomID(getRoom("SMS")),
|
id.RoomID(getRoom("pCzzyaOZfCrorkdgOR")),
|
||||||
event.EventMessage,
|
event.EventMessage,
|
||||||
format.RenderMarkdown(msg, true, true),
|
format.RenderMarkdown(msg, true, true),
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user