signalapp / Signal-Android

A private messenger for Android.
https://signal.org
GNU Affero General Public License v3.0
25.65k stars 6.16k forks source link

MMS group card shows 'insecure call' button #12512

Closed Tursko closed 2 years ago

Tursko commented 2 years ago

Bug description

On the main conversation list you can click on the profile picture of an MMS group which opens a group card. In this card you have the option to 'Message' or 'insecure call'. Insecure call shouldn't be there and causes the app to crash.

Steps to reproduce

Actual result: Insecure call button is displayed, clicking it crashes the app. Expected result: Insecure call button shouldn't be displayed for MMS groups (but should still be displayed for individual SMS conversations).

Screenshots

signal-2022-10-11-09-45-45-234.jpg

Device info

Device: Pixel 5 Android version: 13 Signal version: 5.51.7

Link to debug log

Sgn-32 commented 2 years ago

Not quite sure should be this line https://github.com/signalapp/Signal-Android/blob/c82bf826e0abfac42c6293c6a8ceffec073ffe1d/app/src/main/java/org/thoughtcrime/securesms/recipients/ui/bottomsheet/RecipientBottomSheetDialogFragment.java#L227

/* isAudioAvailable = */ !recipient.isBlocked() && !recipient.isSelf() && !recipient.isReleaseNotes(),

Needs an && !recipient.isMmsGroup()

But having no MMS group, i can't test a PR.

Tursko commented 2 years ago

Not quite sure should be this line https://github.com/signalapp/Signal-Android/blob/c82bf826e0abfac42c6293c6a8ceffec073ffe1d/app/src/main/java/org/thoughtcrime/securesms/recipients/ui/bottomsheet/RecipientBottomSheetDialogFragment.java#L227

/* isAudioAvailable = */ !recipient.isBlocked() && !recipient.isSelf() && !recipient.isReleaseNotes(),

Needs an && !recipient.isMmsGroup()

But having no MMS group, i can't test a PR.

I would try to do this myself but I haven't figured out how to build and run the app in android studio yet. Maybe I'll give it another shot.

Tursko commented 2 years ago

Will be closing. https://signal.org/blog/sms-removal-android/