getSelectedConversation: Return attributes instead of model

This commit is contained in:
Scott Nonnenberg 2024-09-06 23:20:27 +10:00 committed by GitHub
parent bc6831a1d2
commit ec0c4861a7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -55,7 +55,7 @@ if (!isProduction(window.SignalContext.getVersion())) {
getSelectedConversation: () => {
return window.ConversationController.get(
window.reduxStore.getState().conversations.selectedConversationId
);
)?.attributes;
},
getConversation: (id: string) => window.ConversationController.get(id),
getMessageById: (id: string) =>