Add DBID back to messages, add path/seen-by to generated messages, other minor cosmetic fixes
This commit is contained in:
@@ -42,7 +42,7 @@ class Message extends FTNBase
|
||||
'chrs' => 'CHRS: ',
|
||||
'charset' => 'CHARSET: ',
|
||||
'codepage' => 'CODEPAGE: ',
|
||||
'mid' => 'MID: ',
|
||||
'dbid' => 'DBID: ',
|
||||
'pid' => 'PID: ',
|
||||
'replyid' => 'REPLY: ',
|
||||
'tid' => 'TID: ',
|
||||
@@ -423,6 +423,8 @@ class Message extends FTNBase
|
||||
case 'tagline':
|
||||
case 'tearline':
|
||||
case 'origin':
|
||||
case 'seenby':
|
||||
case 'path':
|
||||
case 'via':
|
||||
$this->{$key} = $value;
|
||||
break;
|
||||
@@ -511,7 +513,9 @@ class Message extends FTNBase
|
||||
$return .= sprintf("\01Via %s\r",$v);
|
||||
|
||||
} else {
|
||||
// @todo Add echomail SEEN-BY and PATH
|
||||
// Seenby & PATH - FSC-0068
|
||||
$return .= sprintf("SEEN-BY: %s\r",wordwrap(optimize_path($this->seenby)->join(' '),70,"\rSEEN-BY: "));
|
||||
$return .= sprintf("\01PATH: %s\r",wordwrap(optimize_path($this->path)->join(' '),70,"\rPATH: "));
|
||||
}
|
||||
|
||||
$return .= "\00";
|
||||
|
Reference in New Issue
Block a user