getSelectedConversation: Return attributes instead of model

This commit is contained in:
automated-signal 2024-09-06 11:23:17 -05:00 committed by GitHub
parent 8ed77e391c
commit e6cedbb54d
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) =>