Migrate schema to service ids
This commit is contained in:
parent
71958f8a01
commit
8b0da36caa
258 changed files with 4795 additions and 2613 deletions
|
@ -227,12 +227,12 @@ export const getMessageSearchResultSelector = createSelector(
|
|||
return undefined;
|
||||
}
|
||||
|
||||
const { conversationId, source, sourceUuid, type } = message;
|
||||
const { conversationId, source, sourceServiceId, type } = message;
|
||||
let from: ConversationType;
|
||||
let to: ConversationType;
|
||||
|
||||
if (type === 'incoming') {
|
||||
from = conversationSelector(sourceUuid || source);
|
||||
from = conversationSelector(sourceServiceId || source);
|
||||
to = conversationSelector(conversationId);
|
||||
if (from === to) {
|
||||
to = conversationSelector(ourConversationId);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue