Add 'euph.rooms.<name>.username' config option
This commit is contained in:
parent
6e6fddc0b1
commit
d0ba210855
4 changed files with 21 additions and 1 deletions
|
|
@ -102,7 +102,11 @@ impl EuphRoom {
|
|||
if self.room.is_none() {
|
||||
let store = self.chat.store().clone();
|
||||
let name = store.room().to_string();
|
||||
let (room, euph_room_event_rx) = euph::Room::new(store, self.config.password.clone());
|
||||
let (room, euph_room_event_rx) = euph::Room::new(
|
||||
store,
|
||||
self.config.username.clone(),
|
||||
self.config.password.clone(),
|
||||
);
|
||||
|
||||
self.room = Some(room);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue