Fix some issues around SignalServiceAddress creation.

This commit is contained in:
Greyson Parrelli
2021-08-27 10:57:52 -04:00
committed by Alex Hart
parent a57adcb2b0
commit 08008629b3
10 changed files with 19 additions and 167 deletions

View File

@@ -132,8 +132,7 @@ public final class MessageGroupContext {
return Stream.of(groupContext.getMembersList())
.map(GroupContext.Member::getE164)
.withoutNulls()
.map(e164 -> new SignalServiceAddress(null, e164))
.map(RecipientId::from)
.map(RecipientId::fromExternalPush)
.filterNot(selfId::equals)
.toList();
}