Cleanup RemoteConfig
This commit is contained in:
parent
7bad05f5a0
commit
b2a3605d77
53 changed files with 121 additions and 614 deletions
|
@ -97,9 +97,6 @@ export function getConversation(model: ConversationModel): ConversationType {
|
|||
hasDraft(attributes) && draftTimestamp && draftTimestamp >= (timestamp || 0)
|
||||
);
|
||||
const inboxPosition = attributes.inbox_position;
|
||||
const messageRequestsEnabled = window.Signal.RemoteConfig.isEnabled(
|
||||
'desktop.messageRequests'
|
||||
);
|
||||
const ourConversationId =
|
||||
window.ConversationController.getOurConversationId();
|
||||
|
||||
|
@ -198,7 +195,6 @@ export function getConversation(model: ConversationModel): ConversationType {
|
|||
pendingApprovalMemberships: getPendingApprovalMemberships(attributes),
|
||||
bannedMemberships: getBannedMemberships(attributes),
|
||||
profileKey: attributes.profileKey,
|
||||
messageRequestsEnabled,
|
||||
accessControlAddFromInviteLink: attributes.accessControl?.addFromInviteLink,
|
||||
accessControlAttributes: attributes.accessControl?.attributes,
|
||||
accessControlMembers: attributes.accessControl?.members,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue