Skip to content

Commit

Permalink
Social: Update the check to see if Bluesky is already connected (#39661)
Browse files Browse the repository at this point in the history
  • Loading branch information
manzoorwanijk authored and gogdzl committed Oct 25, 2024
1 parent 201ee16 commit e17250e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: fixed

Social: Updated the check to see if Bluesky is already connected
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ export function isMastodonAccountAlreadyConnected( state, username ) {
*/
export function isBlueskyAccountAlreadyConnected( state, handle ) {
return getConnectionsByService( state, 'bluesky' ).some( connection => {
return connection.external_display === handle;
return connection.external_name === handle;
} );
}

Expand Down

0 comments on commit e17250e

Please sign in to comment.