Added local flag to mail, should work with the yaqn qwk tosser now
This commit is contained in:
parent
cb36e71300
commit
cafc5b4e37
@ -383,6 +383,7 @@ void read_message(int socket, struct user_record *user, int mailno) {
|
|||||||
|
|
||||||
JAM_ClearMsgHeader( &jmh );
|
JAM_ClearMsgHeader( &jmh );
|
||||||
jmh.DateWritten = time(NULL);
|
jmh.DateWritten = time(NULL);
|
||||||
|
jmh.Attribute |= MSG_LOCAL;
|
||||||
|
|
||||||
jsp = JAM_NewSubPacket();
|
jsp = JAM_NewSubPacket();
|
||||||
jsf.LoID = JAMSFLD_SENDERNAME;
|
jsf.LoID = JAMSFLD_SENDERNAME;
|
||||||
@ -530,7 +531,7 @@ int mail_menu(int socket, struct user_record *user) {
|
|||||||
|
|
||||||
JAM_ClearMsgHeader( &jmh );
|
JAM_ClearMsgHeader( &jmh );
|
||||||
jmh.DateWritten = time(NULL);
|
jmh.DateWritten = time(NULL);
|
||||||
|
jmh.Attribute |= MSG_LOCAL;
|
||||||
if (conf.mail_conferences[user->cur_mail_conf]->realnames == 0) {
|
if (conf.mail_conferences[user->cur_mail_conf]->realnames == 0) {
|
||||||
strcpy(buffer, user->loginname);
|
strcpy(buffer, user->loginname);
|
||||||
} else {
|
} else {
|
||||||
|
Reference in New Issue
Block a user