Migrate schema to service ids
This commit is contained in:
parent
71958f8a01
commit
8b0da36caa
258 changed files with 4795 additions and 2613 deletions
|
@ -30,14 +30,14 @@ type PropsType = {
|
|||
| 'unblurredAvatarPath'
|
||||
>;
|
||||
i18n: LocalizerType;
|
||||
me: Pick<ConversationType, 'id' | 'uuid'>;
|
||||
me: Pick<ConversationType, 'id' | 'serviceId'>;
|
||||
ringMode: RingMode;
|
||||
|
||||
// The following should only be set for group conversations.
|
||||
groupMembers?: Array<Pick<ConversationType, 'id' | 'firstName' | 'title'>>;
|
||||
isCallFull?: boolean;
|
||||
peekedParticipants?: Array<
|
||||
Pick<ConversationType, 'firstName' | 'title' | 'uuid'>
|
||||
Pick<ConversationType, 'firstName' | 'title' | 'serviceId'>
|
||||
>;
|
||||
};
|
||||
|
||||
|
@ -61,7 +61,7 @@ export function CallingPreCallInfo({
|
|||
// device.
|
||||
let hasYou = false;
|
||||
const participantNames = peekedParticipants.map(participant => {
|
||||
if (participant.uuid === me.uuid) {
|
||||
if (participant.serviceId === me.serviceId) {
|
||||
hasYou = true;
|
||||
return i18n('icu:you');
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue