options -> client, since client was only option ;)
This commit is contained in:
parent
dc1ff587a3
commit
303259841f
|
@ -159,7 +159,7 @@ exports.getModule = class MessageListModule extends MessageAreaConfTempSwitcher(
|
||||||
return callback(0 === self.messageList.length ? new Error('No messages in area') : null);
|
return callback(0 === self.messageList.length ? new Error('No messages in area') : null);
|
||||||
}
|
}
|
||||||
|
|
||||||
messageArea.getMessageListForArea( { client : self.client }, self.messageAreaTag, function msgs(err, msgList) {
|
messageArea.getMessageListForArea(self.client, self.messageAreaTag, function msgs(err, msgList) {
|
||||||
if(!msgList || 0 === msgList.length) {
|
if(!msgList || 0 === msgList.length) {
|
||||||
return callback(new Error('No messages in area'));
|
return callback(new Error('No messages in area'));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue