Skip to content

Commit

Permalink
Merge pull request #11062 from nextcloud/bugfix/11059/use-only-applic…
Browse files Browse the repository at this point in the history
…able-ooo

fix(chat): Only load current absence not future ones
  • Loading branch information
nickvergessen authored Dec 5, 2023
2 parents 4810f2e + 18180a8 commit 3258e99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/participantsService.js
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ const setTyping = (typing) => {
* @param {string} userId user id
*/
const getUserAbsence = async (userId) => {
return axios.get(generateOcsUrl('/apps/dav/api/v1/outOfOffice/{userId}', { userId }))
return axios.get(generateOcsUrl('/apps/dav/api/v1/outOfOffice/{userId}/now', { userId }))
}

export {
Expand Down

0 comments on commit 3258e99

Please sign in to comment.