@@ -138,11 +138,15 @@ export default (
138
138
( [ name , { url_pattern } ] ) => [ name , { url_pattern } ] ,
139
139
) ,
140
140
) ,
141
+
142
+ // TODO: On EventTypes.realm events with video_chat_provider, update
143
+ // the state or cause a re-register.
141
144
videoChatProvider : getVideoChatProvider ( {
142
145
availableProviders : action . data . realm_available_video_chat_providers ,
143
146
jitsiServerUrl : action . data . jitsi_server_url ,
144
147
providerId : action . data . realm_video_chat_provider ,
145
148
} ) ,
149
+
146
150
mandatoryTopics : action . data . realm_mandatory_topics ,
147
151
messageContentDeleteLimitSeconds : action . data . realm_message_content_delete_limit_seconds ,
148
152
messageContentEditLimitSeconds : action . data . realm_message_content_edit_limit_seconds ,
@@ -242,6 +246,15 @@ export default (
242
246
if ( data . description !== undefined ) {
243
247
result . description = data . description ;
244
248
}
249
+ if ( data . mandatory_topics !== undefined ) {
250
+ result . mandatoryTopics = data . mandatory_topics ;
251
+ }
252
+ if ( data . message_content_delete_limit_seconds !== undefined ) {
253
+ result . messageContentDeleteLimitSeconds = data . message_content_delete_limit_seconds ;
254
+ }
255
+ if ( data . message_content_edit_limit_seconds !== undefined ) {
256
+ result . messageContentEditLimitSeconds = data . message_content_edit_limit_seconds ;
257
+ }
245
258
if ( data . create_stream_policy !== undefined ) {
246
259
// TODO(server-5.0): Stop expecting create_stream_policy; simplify.
247
260
result . createPublicStreamPolicy = data . create_stream_policy ;
0 commit comments