start with seq 1, like Element Call does

This commit is contained in:
Bruno Windels 2022-06-03 15:50:02 +02:00
parent 1fab314dd5
commit bfdea03bbd

View File

@ -222,7 +222,7 @@ export class Member {
/** @internal */
sendSignallingMessage = async (message: SignallingMessage<MCallBase>, log: ILogItem): Promise<void> => {
const groupMessage = message as SignallingMessage<MGroupCallBase>;
groupMessage.content.seq = ++this.connection!.outboundSeqCounter;
groupMessage.content.seq = this.connection!.outboundSeqCounter++;
groupMessage.content.conf_id = this.options.confId;
groupMessage.content.device_id = this.options.ownDeviceId;
groupMessage.content.party_id = this.options.ownDeviceId;