aboutsummaryrefslogtreecommitdiff
path: root/ui/commands.go
diff options
context:
space:
mode:
Diffstat (limited to 'ui/commands.go')
-rw-r--r--ui/commands.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/commands.go b/ui/commands.go
index b80fa07..0feda29 100644
--- a/ui/commands.go
+++ b/ui/commands.go
@@ -19,7 +19,7 @@ package ui
import (
"encoding/json"
"fmt"
- "maunium.net/go/gomatrix"
+ "maunium.net/go/mautrix"
"strings"
"unicode"
@@ -133,7 +133,7 @@ func cmdSendEvent(cmd *Command) {
return
}
roomID := cmd.Args[0]
- eventType := gomatrix.NewEventType(cmd.Args[1])
+ eventType := mautrix.NewEventType(cmd.Args[1])
rawContent := strings.Join(cmd.Args[2:], "")
debug.Print(roomID, eventType, rawContent)
@@ -162,7 +162,7 @@ func cmdSetState(cmd *Command) {
}
roomID := cmd.Args[0]
- eventType := gomatrix.NewEventType(cmd.Args[1])
+ eventType := mautrix.NewEventType(cmd.Args[1])
stateKey := cmd.Args[2]
if stateKey == "-" {
stateKey = ""