Silence warning
This commit is contained in:
parent
4914bb9003
commit
968a22c5eb
22
core/fse.js
22
core/fse.js
|
@ -701,16 +701,18 @@ exports.FullScreenEditorModule = exports.getModule = class FullScreenEditorModul
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'edit' :
|
case 'edit' :
|
||||||
const fromView = self.viewControllers.header.getView(1);
|
{
|
||||||
const area = getMessageAreaByTag(self.messageAreaTag);
|
const fromView = self.viewControllers.header.getView(1);
|
||||||
if(area && area.realNames) {
|
const area = getMessageAreaByTag(self.messageAreaTag);
|
||||||
fromView.setText(self.client.user.properties.real_name || self.client.user.username);
|
if(area && area.realNames) {
|
||||||
} else {
|
fromView.setText(self.client.user.properties.real_name || self.client.user.username);
|
||||||
fromView.setText(self.client.user.username);
|
} else {
|
||||||
}
|
fromView.setText(self.client.user.username);
|
||||||
|
}
|
||||||
if(self.replyToMessage) {
|
|
||||||
self.initHeaderReplyEditMode();
|
if(self.replyToMessage) {
|
||||||
|
self.initHeaderReplyEditMode();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue