Skip to content

Commit

Permalink
Social: Update the check to see if Bluesky is already connected
Browse files Browse the repository at this point in the history
  • Loading branch information
manzoorwanijk committed Oct 7, 2024
1 parent 6b41b2a commit 53f3106
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 53f3106

Please sign in to comment.