File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -456,6 +456,16 @@ export class CommonConnection {
456456 if ( index === 0 && cmd . tempOut ) {
457457 ret . tempOut = cmd . tempOut
458458 }
459+ // we need also to update the translation table
460+ const update = {
461+ /* $addToSet: {
462+ remoteClients: args.lectureuuid + ':' + args.clientid
463+ } */
464+ }
465+ update . $set = { }
466+ update . $set [ 'transHash.' + mid ] = majorid
467+ update . $set [ 'transHash.' + cid ] = clientidpure
468+ await routercol . updateOne ( { url : ele . url } , update )
459469 return { data : ret , key : ele . key }
460470 } )
461471 . map ( async ( ele ) => {
@@ -629,9 +639,9 @@ export class CommonConnection {
629639 if ( ! dprimary ) setprimary = true
630640 }
631641 const update = {
632- $addToSet : {
642+ /* $addToSet: {
633643 localClients: args.lectureuuid + ':' + args.clientid
634- }
644+ } */
635645 }
636646 const calcHash = async ( input ) => {
637647 const hash = createHash ( 'sha256' )
You can’t perform that action at this time.
0 commit comments