aboutsummaryrefslogtreecommitdiff
path: root/ui/commands.go
diff options
context:
space:
mode:
authorTulir Asokan <tulir@maunium.net>2018-11-14 00:00:35 +0200
committerTulir Asokan <tulir@maunium.net>2018-11-14 00:00:35 +0200
commitba387764ca1590625d349e74eb8a8a64d1849b67 (patch)
treebc8f02156a63eac99dcddaed38e45b7c312b40c0 /ui/commands.go
parentcfb2cc057c32330be0ca0a68cfbd245cb2b8e31b (diff)
Fix things
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 = ""