mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-06-02 02:38:21 +02:00
* Handle import of NetMail messages
* Add NetMail aliases support (name -> localname lookup, e.g. "root" -> "NuSkooler" * Minor code changes / cleanup
This commit is contained in:
parent
11a19d899e
commit
6d929237d2
3 changed files with 102 additions and 63 deletions
|
@ -264,12 +264,12 @@ exports.FullScreenEditorModule = exports.getModule = class FullScreenEditorModul
|
|||
isEditMode() {
|
||||
return 'edit' === this.editorMode;
|
||||
}
|
||||
|
||||
|
||||
isViewMode() {
|
||||
return 'view' === this.editorMode;
|
||||
}
|
||||
|
||||
isLocalEmail() {
|
||||
isPrivateMail() {
|
||||
return Message.WellKnownAreaTags.Private === this.messageAreaTag;
|
||||
}
|
||||
|
||||
|
@ -411,7 +411,7 @@ exports.FullScreenEditorModule = exports.getModule = class FullScreenEditorModul
|
|||
return callback(null);
|
||||
},
|
||||
function populateLocalUserInfo(callback) {
|
||||
if(self.isLocalEmail()) {
|
||||
if(self.isPrivateMail()) {
|
||||
self.message.setLocalFromUserId(self.client.user.userId);
|
||||
|
||||
if(self.toUserId > 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue