Disable selecting service messages
This commit is contained in:
parent
0122986323
commit
452b3d9cf9
@ -349,6 +349,9 @@ func (view *MessageView) handleMessageClick(message *messages.UIMessage, mod tce
|
|||||||
open.Open(msg.Path())
|
open.Open(msg.Path())
|
||||||
// No need to re-render
|
// No need to re-render
|
||||||
return false
|
return false
|
||||||
|
} else if message.IsService {
|
||||||
|
// Can't select service messages
|
||||||
|
return false
|
||||||
}
|
}
|
||||||
view.SetSelected(message)
|
view.SetSelected(message)
|
||||||
return true
|
return true
|
||||||
|
Loading…
Reference in New Issue
Block a user