I’ve just checked and using ‘Application ID’ instead of ‘Name’ make Discover ignore this package in updates. Thanks for suggestion!
For the curious: some handy options:
- listing existing masks:
flatpak mask
- removing mask:
flatpak mask --remove PATTERN
where PATTERN is one of listed as result of command from 1. point (or simply one of the PATTERNs that we’ve masked previously). - setting mask (to prevent updates or auto-install of given application):
flatpak mask PATTERN
where PATTERN might be ApplicationId, eg. org.some.App