Make widgets request the room creation event (#2457)

This allows the widget to check the room version, so it can know about
version-specific auth rules (namely MSC3779).
This commit is contained in:
Andrew Ferrazzutti
2024-07-05 04:57:45 +09:00
committed by GitHub
parent 5ad2a27a92
commit 5a6eb7c573

View File

@@ -125,6 +125,7 @@ export const widget = ((): WidgetHelpers | null => {
},
];
const receiveState = [
{ eventType: EventType.RoomCreate },
{ eventType: EventType.RoomMember },
{ eventType: EventType.RoomEncryption },
{ eventType: EventType.GroupCallMemberPrefix },