getSelectedConversation: Return attributes instead of model
This commit is contained in:
parent
bc6831a1d2
commit
ec0c4861a7
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ if (!isProduction(window.SignalContext.getVersion())) {
|
||||||
getSelectedConversation: () => {
|
getSelectedConversation: () => {
|
||||||
return window.ConversationController.get(
|
return window.ConversationController.get(
|
||||||
window.reduxStore.getState().conversations.selectedConversationId
|
window.reduxStore.getState().conversations.selectedConversationId
|
||||||
);
|
)?.attributes;
|
||||||
},
|
},
|
||||||
getConversation: (id: string) => window.ConversationController.get(id),
|
getConversation: (id: string) => window.ConversationController.get(id),
|
||||||
getMessageById: (id: string) =>
|
getMessageById: (id: string) =>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue