diff --git a/.changeset/stable-mutual-rooms-endpoint.md b/.changeset/stable-mutual-rooms-endpoint.md index 4c19da8db..d6e1048b0 100644 --- a/.changeset/stable-mutual-rooms-endpoint.md +++ b/.changeset/stable-mutual-rooms-endpoint.md @@ -2,4 +2,4 @@ default: patch --- -Add support for stable mutual rooms endpoint. +Add support for stable mutual rooms endpoint, manually ported from [this commit](https://github.com/cinnyapp/cinny/commit/bef267257a28b3be8a96852fed1718f63cf570f9) by ajbura upstream. diff --git a/src/app/hooks/useMutualRooms.ts b/src/app/hooks/useMutualRooms.ts index 7d95d7b2a..9764c8cc2 100644 --- a/src/app/hooks/useMutualRooms.ts +++ b/src/app/hooks/useMutualRooms.ts @@ -17,6 +17,8 @@ export const useUnstableMutualRoomsSupport = (): boolean => { return !!supported; }; +// Mutual rooms detection and fetching ported from Cinny +// Original by ajbura here https://github.com/cinnyapp/cinny/commit/bef267257a28b3be8a96852fed1718f63cf570f9 export const useMutualRoomsSupport = (): boolean => { const { unstable_features: unstableFeatures, versions } = useSpecVersions();