nextcloud / nextcloud/android

File open from Talk w multiple accounts causes crash (if account not active in Files)

Open
#13,635 3 comments 1 reaction 0 assignees View on GitHub
0. Needs triage bug feature: authentication performance: misc stable-3.30
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.