Fix block request button not showing up always.

This commit is contained in:
Cody Henthorne 2022-03-17 19:51:22 -04:00
parent daedb8261d
commit 7e0cd99f48

View file

@ -270,7 +270,7 @@ public final class ConversationUpdateItem extends FrameLayout
} }
} }
static final class GroupDataManager { private final class GroupDataManager {
private final Observer<Recipient> recipientObserver; private final Observer<Recipient> recipientObserver;
private final Observer<Boolean> isSelfAdminSetter; private final Observer<Boolean> isSelfAdminSetter;
@ -284,7 +284,7 @@ public final class ConversationUpdateItem extends FrameLayout
this.recipientObserver = observer; this.recipientObserver = observer;
this.isSelfAdminSetter = isSelfAdmin -> { this.isSelfAdminSetter = isSelfAdmin -> {
this.isSelfAdmin = isSelfAdmin; this.isSelfAdmin = isSelfAdmin;
recipientObserver.onChanged(conversationRecipient); present(conversationMessage, nextMessageRecord, conversationRecipient, isMessageRequestAccepted);
}; };
} }