Synchronet now requires the libarchive development package (e.g. libarchive-dev on Debian-based Linux distros, libarchive.org for more info) to build successfully.

Commits (1)
  • Rob Swindell's avatar
    Ignore the PRIVATE message attribute for the "mail" base · e53c5926
    Rob Swindell authored
    When setting the value of a message's 'can_read' property, ignore the PRIVATE message attribute (which is sometimes set in FTN netmail messages) since it's assumed all messages in the mail base are private, no special destination (to) name matching is needed here.
    
    This only popped up recently via msglist.js because of the recent addition of checking each messages's 'can_read' property.
    
    As reported by <Diehard> via IRC PM.
    e53c5926
......@@ -1623,7 +1623,7 @@ static JSBool js_get_msg_header_resolve(JSContext *cx, JSObject *obj, jsid id)
&& (!is_user_subop(scfg, p->p->smb.subnum, user, client)))
break;
if(p->msg.idx.attr&MSG_PRIVATE) {
if(((p->p->smb.status.attr & SMB_EMAIL) == 0) && (p->msg.idx.attr&MSG_PRIVATE)) {
if(user==NULL)
break;
if(!is_user_subop(scfg, p->p->smb.subnum, user, client) && !(user->rest&FLAG('Q'))) {
......