SchildiChat / SchildiChat-android

Matrix client / Element Android fork
https://schildi.chat/android/
Apache License 2.0
386 stars 49 forks source link

Ignore bridge bots when deciding on whether to show names in DMs #170

Open AnisTaluqdar opened 1 year ago

AnisTaluqdar commented 1 year ago

Bridge bots in DMs mess with the layout by adding a third participant to chats, thus enabling member names. We can probably get the bridge bot ID from bridge room data, and exclude it from this calculation.

Original issue description **Is your feature request related to a problem? Please describe.** In current design, It is not looks modern messaging chat app for the name of every chat. I can understand having this thing in group is important to understand who is texting but in DM I don't think it looks good. **Describe the solution you'd like** I attached a picture with white mark. I like to see the DM without the name of person for every chat as I marked. All other centralized messenger don't have this. SO, for modern looks I think it will be better to remove it from DM. **Describe alternatives you've considered** There can be a option for remove this name in DM who don't want it. **Additional context** ![Polish_20230111_151053538](https://user-images.githubusercontent.com/41234183/211766479-68531419-7443-482b-b98a-b9f43d95d78d.png)
SpiritCroc commented 1 year ago

These names are already omitted in direct chats with at most two participants. However, in bridged encrypted chats, there may be three participants (by adding the bridge bot). Since in DMs with more than two parties, one cannot be sure who send what, the name is still displayed.

Would following alternative issue description suit your needs: "Ignore bridge bots when deciding on whether to show names in DMs"?

AnisTaluqdar commented 1 year ago

AH, I did not know about it as I only chat with bridge. Yeah, you are right