fix: Chats doesn't sync for multi client users

This commit is contained in:
2026-06-11 00:04:49 +02:00
parent d0aff6319d
commit d174536272
16 changed files with 662 additions and 16 deletions
@@ -17,7 +17,11 @@ import {
inject,
OnDestroy
} from '@angular/core';
import { Observable, Subject, merge } from 'rxjs';
import {
Observable,
Subject,
merge
} from 'rxjs';
import { ChatEvent } from '../../shared-kernel';
import type { SignalingMessage } from '../../shared-kernel';
import {
@@ -767,6 +771,15 @@ export class WebRTCService implements OnDestroy {
clientInstanceId
});
this.relayAccountSync({
...event,
message: {
...event.message,
clientInstanceId
},
clientInstanceId
});
return;
}