mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-06-11 23:24:43 +02:00
* Notes
This commit is contained in:
parent
d3f82e38da
commit
79e533468a
1 changed files with 2 additions and 1 deletions
|
@ -10,6 +10,7 @@ var assert = require('assert');
|
|||
exports.getAvailableMessageAreas = getAvailableMessageAreas;
|
||||
exports.changeCurrentArea = changeCurrentArea;
|
||||
|
||||
// :TODO: need total / new + other stats
|
||||
function getAvailableMessageAreas(cb) {
|
||||
var areas = []; // { areaId, name, groupIds[] }
|
||||
|
||||
|
@ -80,7 +81,7 @@ function changeCurrentArea(client, areaId, cb) {
|
|||
} else {
|
||||
client.log.warn( { areaId : areaId, error : err.message }, 'Could not change message area');
|
||||
}
|
||||
|
||||
|
||||
cb(err);
|
||||
}
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue