mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-21 11:38:36 +00:00
Add check for call link prefix before parsing.
This commit is contained in:
@@ -335,6 +335,10 @@ public class CommunicationActions {
|
||||
}
|
||||
|
||||
public static void handlePotentialCallLinkUrl(@NonNull FragmentActivity activity, @NonNull String potentialUrl) {
|
||||
if (!CallLinks.isCallLink(potentialUrl)) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (!FeatureFlags.adHocCalling()) {
|
||||
Toast.makeText(activity, R.string.CommunicationActions_cant_join_call, Toast.LENGTH_SHORT).show();
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user