mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-07-28 21:46:09 +02:00
Auto-generate conf numbers for user export mode
This commit is contained in:
parent
6e0f47b1e9
commit
b32dae9b48
3 changed files with 74 additions and 8 deletions
|
@ -546,14 +546,10 @@ function exportQWKPacket() {
|
|||
// if they were not explicitly supplied
|
||||
if (!areaTags.length) {
|
||||
const {
|
||||
getAvailableMessageConferences,
|
||||
getAvailableMessageAreasByConfTag
|
||||
getAllAvailableMessageAreaTags
|
||||
} = require('../../core/message_area');
|
||||
|
||||
const confTags = Object.keys(getAvailableMessageConferences(null, { noClient : true }));
|
||||
confTags.forEach( confTag => {
|
||||
areaTags = areaTags.concat(Object.keys(getAvailableMessageAreasByConfTag(confTag)));
|
||||
});
|
||||
areaTags = getAllAvailableMessageAreaTags();
|
||||
}
|
||||
return callback(null, user);
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue