Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,10 @@ export default {
return this.searchResults.filter((item) => item.source === ATTENDEE.ACTOR_TYPE.CIRCLES)
},
addableRemotes() {
return this.searchResults.filter((item) => item.source === ATTENDEE.ACTOR_TYPE.FEDERATED_USERS)
return this.searchResults.filter((item) => item.source === ATTENDEE.ACTOR_TYPE.REMOTES)
.map((item) => {
return { ...item, source: ATTENDEE.ACTOR_TYPE.FEDERATED_USERS }
})
// TODO remove when Federation feature is ready
.concat(OC.debug
? this.addableUsers.map(user => ({
Expand Down
2 changes: 2 additions & 0 deletions src/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,8 @@ export const ATTENDEE = {
BRIDGED: 'bridged',
FEDERATED_USERS: 'federated_users',
PHONES: 'phones',
/* @internal Only use with server APIs (like /core/autocomplete/get) and never with Talk APIs */
REMOTES: 'remotes',
},

BRIDGE_BOT_ID: 'bridge-bot',
Expand Down