element-hq / element-hq/element-android

Selecting a specific chat in Android's share menu when sharing multiple images brings you back to the chat search screen

Open
#2,821 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Kotlin
Stars
3.7k
Forks
917
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
When I share a single image from [my image app](https://f-droid.org/en/packages/com.simplemobiletools.gallery.pro/), I can share to Element, or I can share to specific Element chats which appear in my share menu. Clicking that specific chat will take me into that chat. I can choose whether I want to send with original size, and then hit send. This works great.

However, I've found that when sharing *multiple* images at once, sharing to an individual chat does not work. When I tap a surfaced chat in Android's share menu, Element Android just opens to the "search for a room" screen. I can reproduce this 100% of the time.

**To Reproduce**
Steps to reproduce the behavior:
1. Go into your gallery app and select multiple images
2. Share those images not to Element, but a *specific Element chat* that Android's share menu has presented.
3. Element then asks you which chat you want to share the images to... but it should've taken me straight to the room I already selected in Android's share menu.

**Expected behavior**
When tapping a specific room in Android's share menu, Element offers to send those images in that room, instead of asking me which room to share it in.

**Smartphone**
- Device: Google Pixel 4a 5G

**Additional context**
- App version and store: v1.0.14 - F-droid

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.