1
0
Fork 0
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:
Simo Kinnunen 2014-01-30 17:02:29 +09:00
parent 1616840818
commit cadc7a17d0
3 changed files with 33 additions and 32 deletions

View file

@ -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)