FIX: PM glyph in user-menu should always be shown to staff

This commit is contained in:
Joe 2019-11-18 17:25:07 +08:00 committed by GitHub
parent e6442a2d2f
commit 84107c61a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -109,7 +109,7 @@ createWidget("user-menu-links", {
glyphs.push(this.notificationsGlyph());
glyphs.push(this.bookmarksGlyph());
if (this.siteSettings.enable_personal_messages) {
if (this.siteSettings.enable_personal_messages || this.currentUser.staff) {
glyphs.push(this.messagesGlyph());
}