I've had this problem for a while where Mattermost never managed to upgrade to 4.6.0 from Flathub.
Tried removing, and running install again (from the command line):
Looking for matches?
Info: org.freedesktop.Platform.Icontheme.Adwaita is end-of-life, with reason: The Icontheme extensions are not used anymore.
com.mattermost.Desktop permissions:
ipc network pulseaudio x11 dri file access [1] dbus access [2]
[1] home
[2] com.canonical.AppMenu.Registrar, org.freedesktop.Notifications
ID Branch Op Remote Download
1. [?] org.freedesktop.Platform.Locale 20.08 u flathub 106.9?MB / 322.1?MB
2. [?] org.freedesktop.Platform.openh264 2.0 u gnome-nightly < 1.5?MB
3. [?] com.mattermost.Desktop stable i flathub 1.0?kB / 121.0?MB
Warning: Server returned status 404: Not Found
Error: While trying to checkout 679337c414658767f2182fba2254016c2abd785f1352b826669e77b740b439dd into /home/marcus/.local/share/flatpak/app/com.mattermost.Desktop/x86_64/stable/.679337c414658767f2182fba2254016c2abd785f1352b826669e77b740b439dd-7VUSX0: Opening content object 5328c448f6d31776141ff5d05a964707e5eb84ce9734ad9c41de855894e56c3d: Couldn't find file object '5328c448f6d31776141ff5d05a964707e5eb84ce9734ad9c41de855894e56c3d'
Pruning repo failed: No such metadata object 141790b376334031e3c76df0f75d082352994b0c24675aee378d65e94129d1c2.dirtreeerror: Failed to install com.mattermost.Desktop: While trying to checkout 679337c414658767f2182fba2254016c2abd785f1352b826669e77b740b439dd into /home/marcus/.local/share/flatpak/app/com.mattermost.Desktop/x86_64/stable/.679337c414658767f2182fba2254016c2abd785f1352b826669e77b740b439dd-7VUSX0: Opening content object 5328c448f6d31776141ff5d05a964707e5eb84ce9734ad9c41de855894e56c3d: Couldn't find file object '5328c448f6d31776141ff5d05a964707e5eb84ce9734ad9c41de855894e56c3d'