Skip to content

Commit 8c613ad

Browse files
authored
Merge pull request #2048 from apiraino/remove-wg-prio
Remove membership special check for WG-prio
2 parents 8c820dd + a0ee200 commit 8c613ad

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

src/github.rs

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -247,22 +247,18 @@ impl User {
247247
let is_triager = map
248248
.get("wg-triage")
249249
.map_or(false, |w| w.members.iter().any(|g| g.github == self.login));
250-
let is_pri_member = map
251-
.get("wg-prioritization")
252-
.map_or(false, |w| w.members.iter().any(|g| g.github == self.login));
253250
let is_async_member = map
254251
.get("wg-async")
255252
.map_or(false, |w| w.members.iter().any(|g| g.github == self.login));
256253
let in_all = map["all"].members.iter().any(|g| g.github == self.login);
257254
log::trace!(
258-
"{:?} is all?={:?}, triager?={:?}, prioritizer?={:?}, async?={:?}",
255+
"{:?} is all?={:?}, triager?={:?}, async?={:?}",
259256
self.login,
260257
in_all,
261258
is_triager,
262-
is_pri_member,
263259
is_async_member,
264260
);
265-
Ok(in_all || is_triager || is_pri_member || is_async_member)
261+
Ok(in_all || is_triager || is_async_member)
266262
}
267263
}
268264

0 commit comments

Comments
 (0)