1. While sharing images/videos from Apple's Message app, the file will be treated as a Link with file-url. The if-else ordering will help to fix the issue. 2. While sharing image from Signal and Facebook app, the file being received is an UIImage and error is being sent. This PR fixes the issue. Changelog-Fixed: Fix damus sharing issues Signed-off-by: Swift Coder <scoder1747@gmail.com>