Change room again
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
This commit is contained in:
parent
24564bfc4e
commit
b17a352d20
2
nexmo.go
2
nexmo.go
@ -29,7 +29,7 @@ New Message from: %s
|
|||||||
|
|
||||||
fmt.Println(msg)
|
fmt.Println(msg)
|
||||||
|
|
||||||
_, err := matrixClient.SendText(id.RoomID(getRoom("!pCzzyaOZfCrorkdgOR:matrix.cluster.fun")), msg)
|
_, err := matrixClient.SendText(id.RoomID(getRoom("pCzzyaOZfCrorkdgOR:matrix.cluster.fun")), msg)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
fmt.Println("Failed sending to Matrix", err)
|
fmt.Println("Failed sending to Matrix", err)
|
||||||
if httpErr, ok := err.(mautrix.HTTPError); ok {
|
if httpErr, ok := err.(mautrix.HTTPError); ok {
|
||||||
|
Loading…
Reference in New Issue
Block a user