Fix issue where group updates were mis-rendered.

This commit is contained in:
Greyson Parrelli
2020-07-30 23:05:09 -04:00
parent 4942d83de5
commit 3e166ef927
3 changed files with 8 additions and 2 deletions

View File

@@ -128,7 +128,9 @@ public final class MessageGroupContext {
public @NonNull List<RecipientId> getMembersListExcludingSelf() {
RecipientId selfId = Recipient.self().getId();
return Stream.of(groupContext.getMembersE164List())
return Stream.of(groupContext.getMembersList())
.map(GroupContext.Member::getE164)
.withoutNulls()
.map(e164 -> new SignalServiceAddress(null, e164))
.map(RecipientId::from)
.filterNot(selfId::equals)