Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crashes when sharing from Delta Chat to some apps #3597

Open
Hocuri opened this issue Feb 17, 2025 · 2 comments
Open

Crashes when sharing from Delta Chat to some apps #3597

Hocuri opened this issue Feb 17, 2025 · 2 comments
Labels

Comments

@Hocuri
Copy link
Collaborator

Hocuri commented Feb 17, 2025

@Simon-Laux's file manager (Material Files, from F-Droid) throws this error:

System.err: java8.nio.file.FileSystemException: content://com.b44t.messenger.attachments/f6ad6d62.log/nixos-infect.log: ContentResolver.query() with content://com.b44t.messenger.attachments/f6ad6d62.log/nixos-infect.log returned null

The fix is probably to return something sensible from query() in AttachmentsContentProvider.java:

    @Override
    public Cursor query(Uri arg0, String[] arg1, String arg2, String[] arg3,
                        String arg4) {
        return null;
    }

Signal has it implemented, so, we can use their code as instructions for how implement it, but we can't copy the code due to licensing problems.

@Hocuri Hocuri added the bug label Feb 17, 2025
@Simon-Laux
Copy link
Member

no the issue was reported to me, I just forwarded it. - I personally haven't tried it.

@inexcode
Copy link

Issue originally reported by me, thanks for forwarding and opening it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants