Multiple cross-team functionality fixes (#2902)
Этот коммит содержится в:
коммит произвёл
Christopher Speller
родитель
4b2843ee9d
Коммит
d75cb02948
@@ -43,7 +43,7 @@ class NotificationStoreClass extends EventEmitter {
|
||||
|
||||
if (notifyLevel === 'none') {
|
||||
return;
|
||||
} else if (notifyLevel === 'mention' && mentions.indexOf(user.id) === -1 && channel.type !== Constants.DM_CHANNEL) {
|
||||
} else if (notifyLevel === 'mention' && mentions.indexOf(user.id) === -1 && msgProps.channel_type !== Constants.DM_CHANNEL) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
@@ -111,7 +111,7 @@ class UserStoreClass extends EventEmitter {
|
||||
}
|
||||
|
||||
hasProfile(userId) {
|
||||
return this.getProfiles()[userId] != null;
|
||||
return this.getProfile(userId) != null;
|
||||
}
|
||||
|
||||
getProfile(userId) {
|
||||
|
||||
Ссылка в новой задаче
Block a user