mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-06-11 23:24:43 +02:00
Lookup username and real name in various scenarios
This commit is contained in:
parent
f967ce1ce6
commit
ab12fb5d79
5 changed files with 28 additions and 14 deletions
|
@ -55,7 +55,7 @@ function areaFix() {
|
|||
const User = require('../user.js');
|
||||
|
||||
if(argv.from) {
|
||||
User.getUserIdAndName(argv.from, (err, userId, fromName) => {
|
||||
User.getUserIdAndNameByLookup(argv.from, (err, userId, fromName) => {
|
||||
if(err) {
|
||||
return callback(null, ftnAddr, argv.from, 0);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue