Disable selecting service messages

This commit is contained in:
Tulir Asokan 2020-02-22 02:46:16 +02:00
parent 0122986323
commit 452b3d9cf9

View File

@ -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