aboutsummaryrefslogtreecommitdiff
path: root/ui/commands.go
diff options
context:
space:
mode:
authorTulir Asokan <tulir@maunium.net>2020-03-01 22:35:21 +0200
committerTulir Asokan <tulir@maunium.net>2020-03-01 22:35:25 +0200
commitc829e436e46ace700045eaaf31bc4abf286e1156 (patch)
tree17fc5584554352279419759d273d283a130e3579 /ui/commands.go
parent5ea77a6c5f1ad351cdc0159181cc45ae3b1f3d1a (diff)
Implement sending redactions
Diffstat (limited to 'ui/commands.go')
-rw-r--r--ui/commands.go5
1 files changed, 1 insertions, 4 deletions
diff --git a/ui/commands.go b/ui/commands.go
index 9ef0577..879aca7 100644
--- a/ui/commands.go
+++ b/ui/commands.go
@@ -151,10 +151,7 @@ func cmdReply(cmd *Command) {
}
func cmdRedact(cmd *Command) {
- cmd.Reply("Not yet implemented 3:")
-
- // This needs to be implemented in RoomView's OnSelect method
- //cmd.Room.StartSelecting(SelectRedact, "")
+ cmd.Room.StartSelecting(SelectRedact, strings.Join(cmd.Args, " "))
}
func cmdReact(cmd *Command) {