0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-29 02:02:38 +01:00

modules/client/rooms/aliases: Fix spec conformance; only return local aliases.

This commit is contained in:
Jason Volk 2023-02-08 12:40:04 -08:00
parent 1da91f41b3
commit 500413701b

View file

@ -56,7 +56,7 @@ get__aliases(client &client,
top, "aliases"
};
aliases.for_each([&array]
aliases.for_each(my_host(), [&array]
(const m::room::alias &room_alias)
{
array.append(room_alias);