Remove unhandled Edit message action
This commit is contained in:
parent
e2ac04dbfd
commit
7af3cf17cd
1 changed files with 0 additions and 4 deletions
|
|
@ -210,10 +210,6 @@ func onMessagesTextViewInputCapture(app *App, e *tcell.EventKey) *tcell.EventKey
|
|||
return nil
|
||||
}
|
||||
|
||||
if util.HasPermission(app.Session.State, app.SelectedChannel.ID, discordgo.PermissionManageMessages) || m.Author.ID == app.Session.State.User.ID {
|
||||
messageActionsList.AddItem("Edit", "", 'e', nil)
|
||||
}
|
||||
|
||||
if util.HasPermission(app.Session.State, app.SelectedChannel.ID, discordgo.PermissionSendMessages) {
|
||||
messageActionsList.AddItem("Reply", "", 'r', nil)
|
||||
messageActionsList.AddItem("Mention Reply", "", 'R', nil)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue