We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 697ebdc commit 89ca178Copy full SHA for 89ca178
Games/core/Meeting.js
@@ -692,6 +692,7 @@ module.exports = class Meeting {
692
693
this.finished = true;
694
695
+ var isExcludeSelf = this.targetsDescription && this.targetsDescription["exclude"] && this.targetsDescription["exclude"].includes("self");
696
var count = {};
697
var highest = { targets: [], votes: 1 };
698
var finalTarget;
@@ -704,6 +705,9 @@ module.exports = class Meeting {
704
705
706
if (!target) continue;
707
708
+ // Workaround for being unable to properly exclude self from group meetings
709
+ if (isExcludeSelf && voterId === target) continue;
710
+
711
if (!count[target]) count[target] = 0;
712
713
count[target] += member.voteWeight;
0 commit comments