fix missing bold for your account item master
authorMatteo Nastasi <nastasi@alternativeoutput.it>
Tue, 12 May 2020 11:59:40 +0000 (13:59 +0200)
committerMatteo Nastasi <nastasi@alternativeoutput.it>
Tue, 12 May 2020 11:59:40 +0000 (13:59 +0200)
web/room.js

index 7085be4..6308903 100644 (file)
@@ -332,6 +332,9 @@ function j_stand_cont(ddata)
         for (i = 0 ; i < standup_data_old.length ; i++) {
             for (e = 0 ; e < data.length ; e++) {
                 if (standup_data_old[i][1] == data[e][1]) {
+                    if (data[e][1] == window.myname) {
+                        data[e][0] |= 1;
+                    }
                     break;
                 }
             }
@@ -344,6 +347,9 @@ function j_stand_cont(ddata)
                 if (standup_data_old[i][0] != data[e][0] ||
                     standup_data_old[i].length != data[e].length ||
                     (data[e].length == 3 && standup_data_old[i][2] != data[e][2])) {
+                    if (data[e][1] == window.myname) {
+                        data[e][0] |= 1;
+                    }
                     arr_mod[idx_mod_n] = data[e];
                     idx_mod[idx_mod_n++] = i;
                 }
@@ -359,6 +365,9 @@ function j_stand_cont(ddata)
                 }
             }
             if (i == standup_data_old.length) {
+                if (data[e][1] == window.myname) {
+                    data[e][0] |= 1;
+                }
                 // console.log("ADD: "+data[e][1]);
                 arr_add[idx_add_n]   = data[e];
                 map_add[idx_add_n++] = e;