Skip to content

Commit 3258e99

Browse files
Merge pull request #11062 from nextcloud/bugfix/11059/use-only-applicable-ooo
fix(chat): Only load current absence not future ones
2 parents 4810f2e + 18180a8 commit 3258e99

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/services/participantsService.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ const setTyping = (typing) => {
248248
* @param {string} userId user id
249249
*/
250250
const getUserAbsence = async (userId) => {
251-
return axios.get(generateOcsUrl('/apps/dav/api/v1/outOfOffice/{userId}', { userId }))
251+
return axios.get(generateOcsUrl('/apps/dav/api/v1/outOfOffice/{userId}/now', { userId }))
252252
}
253253

254254
export {

0 commit comments

Comments
 (0)