diff options
Diffstat (limited to 'client-native-gui/src')
-rw-r--r-- | client-native-gui/src/chat.rs | 5 | ||||
-rw-r--r-- | client-native-gui/src/main.rs | 9 |
2 files changed, 12 insertions, 2 deletions
diff --git a/client-native-gui/src/chat.rs b/client-native-gui/src/chat.rs index dc4c2bc..c1f7868 100644 --- a/client-native-gui/src/chat.rs +++ b/client-native-gui/src/chat.rs @@ -1,3 +1,8 @@ +/* + This file is part of keks-meet (https://codeberg.org/metamuffin/keks-meet) + which is licensed under the GNU Affero General Public License (version 3); see /COPYING. + Copyright (C) 2022 metamuffin <metamuffin@disroot.org> +*/ use crate::GuiPeer; use async_std::task::block_on; use client_native_lib::{ diff --git a/client-native-gui/src/main.rs b/client-native-gui/src/main.rs index 11290ee..83de3a0 100644 --- a/client-native-gui/src/main.rs +++ b/client-native-gui/src/main.rs @@ -1,3 +1,8 @@ +/* + This file is part of keks-meet (https://codeberg.org/metamuffin/keks-meet) + which is licensed under the GNU Affero General Public License (version 3); see /COPYING. + Copyright (C) 2022 metamuffin <metamuffin@disroot.org> +*/ #![feature(box_syntax)] pub mod chat; @@ -38,7 +43,7 @@ use tokio::task::JoinHandle; /// A graphical interface to keks-meet conferences struct Args { #[arg(short = 'R', long, default_value = "")] - default_room_name: String, + default_room_secret: String, #[arg(short = 'U', long, default_value = "alice")] default_username: String, } @@ -108,7 +113,7 @@ enum GuiResourceState { impl App { pub fn new(args: Args) -> Self { - Self::Prejoin(args.default_room_name, args.default_username) + Self::Prejoin(args.default_room_secret, args.default_username) } } |