diff options
author | Tulir Asokan <tulir@maunium.net> | 2020-02-22 02:46:16 +0200 |
---|---|---|
committer | Tulir Asokan <tulir@maunium.net> | 2020-02-22 02:46:16 +0200 |
commit | 452b3d9cf9c0cf6112bd932d7437d800c0bc6d66 (patch) | |
tree | 47f7dbe81cd2d9d76f761b5ca430a6465e63a3e1 | |
parent | 01229863235a24f6d10f20e57a2e7e8e164de17d (diff) |
Disable selecting service messages
-rw-r--r-- | ui/message-view.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ui/message-view.go b/ui/message-view.go index e079407..8d39ab6 100644 --- a/ui/message-view.go +++ b/ui/message-view.go @@ -349,6 +349,9 @@ func (view *MessageView) handleMessageClick(message *messages.UIMessage, mod tce open.Open(msg.Path()) // No need to re-render return false + } else if message.IsService { + // Can't select service messages + return false } view.SetSelected(message) return true |