@@ -93,38 +93,39 @@ export const Route = createFileRoute({
93
93
94
94
beforeLoad ( { search } ) {
95
95
switch ( search . action ) {
96
- case "profile" :
97
- case "org.matrix.profile" :
96
+ case "profile" : // This is an unspecced alias for org.matrix.profile that can be removed
97
+ case "org.matrix.profile" : // This is from unstable MSC4191
98
98
throw redirect ( { to : "/" , search : { } } ) ;
99
99
100
- case "sessions_list" :
101
- case "org.matrix.sessions_list" :
100
+ case "sessions_list" : // This is an unspecced alias for org.matrix.sessions_list that can be removed
101
+ case "org.matrix.sessions_list" : // This is from unstable MSC4191
102
102
throw redirect ( { to : "/sessions" } ) ;
103
103
104
- case "session_view" :
105
- case "org.matrix.session_view" :
104
+ case "session_view" : // This is an unspecced alias for org.matrix.session_view that can be removed
105
+ case "org.matrix.session_view" : // This is from unstable MSC4191
106
106
if ( search . device_id )
107
107
throw redirect ( {
108
108
to : "/devices/$" ,
109
109
params : { _splat : search . device_id } ,
110
110
} ) ;
111
111
throw redirect ( { to : "/sessions" } ) ;
112
112
113
- case "session_end" :
114
- case "org.matrix.session_end" :
113
+ case "session_end" : // This is the unstable MSC3824 alias for org.matrix.session_end
114
+ case "org.matrix.session_end" : // This is from unstable MSC4191
115
115
if ( search . device_id )
116
116
throw redirect ( {
117
117
to : "/devices/$" ,
118
118
params : { _splat : search . device_id } ,
119
119
} ) ;
120
120
throw redirect ( { to : "/sessions" } ) ;
121
121
122
- case "org.matrix.cross_signing_reset" :
122
+ case "org.matrix.cross_signing_reset" : // This is from unstable MSC4191
123
123
throw redirect ( {
124
124
to : "/reset-cross-signing" ,
125
125
search : { deepLink : true } ,
126
126
} ) ;
127
127
case "org.matrix.plan_management" : {
128
+ // This is an unspecced experimental value
128
129
// We don't both checking if the plan management iframe is actually available and
129
130
// instead rely on the plan tab handling it.
130
131
throw redirect ( { to : "/plan" } ) ;
0 commit comments