Loading src/components/Editor/Invitees/InviteesList.vue +14 −0 Original line number Diff line number Diff line Loading @@ -82,6 +82,8 @@ import useCalendarsStore from '../../../store/calendars.js' import useCalendarObjectInstanceStore from '../../../store/calendarObjectInstance.js' import useSettingsStore from '../../../store/settings.js' import { mapStores, mapState } from 'pinia' import axios from '@nextcloud/axios' import { generateOcsUrl } from '@nextcloud/router' export default { name: 'InviteesList', Loading Loading @@ -379,6 +381,18 @@ export default { member, }) this.recentAttendees.push(email) this.addConversationLink() }, addConversationLink() { if (!this.calendarObjectInstance.attendees || this.calendarObjectInstance.attendees.length < 2) { return } if (typeof this.calendarObjectInstance.location === 'string' && this.calendarObjectInstance.location.trim() !== '') { return } this.createTalkRoom() }, removeAttendee(attendee) { // Remove attendee from participating group Loading src/services/talkService.js +1 −1 Original line number Diff line number Diff line Loading @@ -28,7 +28,7 @@ export async function createTalkRoom(eventTitle = null, eventDescription = null, try { response = await HTTPClient.post(generateOcsUrl('apps/spreed/api/' + apiVersion + '/', 2) + 'room', { roomType: 3, roomType: 7, roomName: eventTitle || t('calendar', 'Talk conversation for event'), objectType: 'event', objectId: md5(new Date()), Loading Loading
src/components/Editor/Invitees/InviteesList.vue +14 −0 Original line number Diff line number Diff line Loading @@ -82,6 +82,8 @@ import useCalendarsStore from '../../../store/calendars.js' import useCalendarObjectInstanceStore from '../../../store/calendarObjectInstance.js' import useSettingsStore from '../../../store/settings.js' import { mapStores, mapState } from 'pinia' import axios from '@nextcloud/axios' import { generateOcsUrl } from '@nextcloud/router' export default { name: 'InviteesList', Loading Loading @@ -379,6 +381,18 @@ export default { member, }) this.recentAttendees.push(email) this.addConversationLink() }, addConversationLink() { if (!this.calendarObjectInstance.attendees || this.calendarObjectInstance.attendees.length < 2) { return } if (typeof this.calendarObjectInstance.location === 'string' && this.calendarObjectInstance.location.trim() !== '') { return } this.createTalkRoom() }, removeAttendee(attendee) { // Remove attendee from participating group Loading
src/services/talkService.js +1 −1 Original line number Diff line number Diff line Loading @@ -28,7 +28,7 @@ export async function createTalkRoom(eventTitle = null, eventDescription = null, try { response = await HTTPClient.post(generateOcsUrl('apps/spreed/api/' + apiVersion + '/', 2) + 'room', { roomType: 3, roomType: 7, roomName: eventTitle || t('calendar', 'Talk conversation for event'), objectType: 'event', objectId: md5(new Date()), Loading