Skip to content

Commit

Permalink
fix(conversation): allow to invite federated user when creating a con…
Browse files Browse the repository at this point in the history
…versation

Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
  • Loading branch information
Antreesy committed Mar 19, 2024
1 parent 26501eb commit f4c6249
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/conversationsService.js
Expand Up @@ -92,7 +92,7 @@ const searchPossibleConversations = async function({ searchText, token, onlyUser
!onlyUsers ? SHARE.TYPE.GROUP : null,
!onlyUsers ? SHARE.TYPE.CIRCLE : null,
(!onlyUsers && token !== 'new') ? SHARE.TYPE.EMAIL : null,
(!onlyUsers && token !== 'new' && canInviteToFederation) ? SHARE.TYPE.REMOTE : null,
(!onlyUsers && canInviteToFederation) ? SHARE.TYPE.REMOTE : null,
].filter(type => type !== null)

return axios.get(generateOcsUrl('core/autocomplete/get'), {
Expand Down

0 comments on commit f4c6249

Please sign in to comment.