mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
Multiple cross-team functionality fixes (#2902)
This commit is contained in:
committed by
Christopher Speller
parent
4b2843ee9d
commit
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) {
|
||||
|
||||
Reference in New Issue
Block a user