mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-22 09:49:30 +01:00
Remove legacy fields from the Envelope.
This commit is contained in:
committed by
Cody Henthorne
parent
b4ae13fe8a
commit
9c266e7995
@@ -81,11 +81,6 @@ public class IncomingMessageProcessor {
|
||||
* one was created. Otherwise null.
|
||||
*/
|
||||
public @Nullable String processEnvelope(@NonNull SignalServiceEnvelope envelope) {
|
||||
if (FeatureFlags.phoneNumberPrivacy() && envelope.hasSourceE164()) {
|
||||
Log.w(TAG, "PNP enabled -- mimicking PNP by dropping the E164 from the envelope.");
|
||||
envelope = envelope.withoutE164();
|
||||
}
|
||||
|
||||
if (envelope.hasSourceUuid()) {
|
||||
Recipient.externalPush(envelope.getSourceAddress());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user