mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-06-07 05:05:26 +02:00
* Use key name for configured archiver name (e.g. "zip")
* Start WIP on mesasge import/toss via schedule * Defaults for message network name
This commit is contained in:
parent
1a6af18801
commit
662d3f232e
4 changed files with 97 additions and 12 deletions
|
@ -75,7 +75,7 @@ module.exports = class ArchiveUtil {
|
|||
}
|
||||
|
||||
// return first match
|
||||
const detected = _.find(this.archivers, arch => {
|
||||
const detected = _.findKey(this.archivers, arch => {
|
||||
const lenNeeded = arch.offset + arch.sig.length;
|
||||
|
||||
if(buf.length < lenNeeded) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue