Fix missing creators support using via (#2431)

* add additional_creators in IRoomCreateContent type

* use creators in getViaServers

* consider creators in guessing perfect parent
This commit is contained in:
Ajay Bura 2025-08-16 17:00:02 +05:30 committed by GitHub
parent 752a19a4e7
commit 1ad7fe8deb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 49 additions and 8 deletions

View file

@ -70,6 +70,7 @@ export type IRoomCreateContent = {
['m.federate']?: boolean;
room_version: string;
type?: string;
additional_creators?: string[];
predecessor?: {
event_id?: string;
room_id: string;