File open from Talk w multiple accounts causes crash (if account not active in Files)
- Dominant language
- Kotlin
- Stars
- 5.6k
- Forks
- 2k
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 92
Description
### Steps to reproduce
1. Have 3 accounts
2. Login account A into the Files app
3. Login account B into the Talk app
4. Send a message with a link to an inaccessible file (e.g. internal link, no share from C to A) from account C to account B
5. Open the link as account B
### Expected behaviour
The link should be opened in the browser as the Files app can not open the file.
### Actual behaviour
The Files app opens but crashes because the only available user A does not have access to the file.
### Device brand and model
Pocophone F1
### Android version
14
### Nextcloud Talk app version
19.0.1
### Nextcloud server version
_No response_
### Talk version
_No response_
### Custom Signaling server configured
None
### Custom TURN server configured
None
### Custom STUN server configured
None
### Android logs
_No response_
### Server log
_No response_
### Additional information
This might very well be an issue in the Files app instead, as it should not crash but open the link in the browser once it realizes that the logged in account does not have access to it.
Contributor guide
Assessment
This issue has not been assessed yet.