Skip to content

Commit 87a417f

Browse files
compose: Configure button to generate video chat url on tap
1 parent 59edc5e commit 87a417f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

lib/widgets/compose_box.dart

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1061,6 +1061,12 @@ class _AttachVideoChatUrlButton extends StatelessWidget {
10611061
}
10621062

10631063
void _handlePress(BuildContext context) {
1064+
final store = PerAccountStoreWidget.of(context);
1065+
final zulipLocalizations = ZulipLocalizations.of(context);
1066+
1067+
final placeholder = _getMeetingUrl(zulipLocalizations,
1068+
store.realmVideoChatProvider, store.jitsiServerUrl);
1069+
if (placeholder == null) return;
10641070
}
10651071

10661072
@override

0 commit comments

Comments
 (0)