Skip to content
Snippets Groups Projects
Commit f9db2d25 authored by rswindell's avatar rswindell
Browse files

User avatars are now be displayed next to the details of files they've

uploaded. This feature requires an updated v3.17 build.
parent ad6c6dd0
Branches
Tags
No related merge requests found
// $Id$
const FM_ANON =(1<<1);
const USER_ANSI =(1<<1);
// Avatar support here:
if(!(bbs.file_attr&FM_ANON) && console.term_supports(USER_ANSI)) {
var Avatar = load({}, 'avatar_lib.js');
Avatar.draw(system.matchuser(bbs.file_uploader), null, null, /* above: */true, /* right-justified: */true);
console.attributes = 0; // Clear the background attribute as the next line might scroll, filling with BG attribute
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment