mirror of
https://github.com/openstf/stf
synced 2025-10-04 18:29:17 +02:00
Move matchesRequirements to devutil.
This commit is contained in:
parent
1616840818
commit
cadc7a17d0
3 changed files with 33 additions and 32 deletions
|
@ -288,7 +288,7 @@ module.exports = function(options) {
|
|||
case wire.MessageType.GROUP:
|
||||
var message = wire.GroupMessage.decode(wrapper.message)
|
||||
, groupChannel = message.channel
|
||||
if (wireutil.matchesRequirements(identity, message.requirements)) {
|
||||
if (devutil.matchesRequirements(identity, message.requirements)) {
|
||||
channels.register(groupChannel, message.timeout)
|
||||
log.info('Subscribing to group channel "%s"', groupChannel)
|
||||
sub.subscribe(groupChannel)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue