mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-09-24 10:58:20 +00:00
Don't include the logged in user in local suggestions
Bug: T267680 Change-Id: I1b2d185de390b73e1b389fc4139735069e7a65dc
This commit is contained in:
parent
7d349808c2
commit
a87d60228f
|
@ -30,7 +30,7 @@ function MWUsernameCompletionAction( surface ) {
|
|||
this.surface.authors.forEach( function ( user ) {
|
||||
if ( mw.util.isIPAddress( user ) ) {
|
||||
action.ipUsers.push( user );
|
||||
} else {
|
||||
} else if ( user !== mw.user.getName() ) {
|
||||
action.localUsers.push( user );
|
||||
}
|
||||
} );
|
||||
|
|
Loading…
Reference in a new issue