Skip to content

Commit b276b9e

Browse files
feat: add ChatEvent::ClientNotInList
1 parent 057a0e8 commit b276b9e

3 files changed

Lines changed: 6 additions & 1 deletion

File tree

src/communication_server.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,10 @@ impl Processor for ChatServer {
126126
Some(from),
127127
Some(session_id),
128128
);
129+
let _ = self.controller_send.send(Box::new(ChatEvent::ClientNotInList {
130+
notification_from: self.id,
131+
id: client_id
132+
}));
129133
}
130134
return;
131135
}

src/media_server.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,7 @@ impl Processor for MediaServer {
209209
{
210210
return true;
211211
}
212+
}
212213
}
213214
WebCommand::AddMediaFile(media_file) => {
214215
let file_id = media_file.id;

src/text_server.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ impl Processor for TextServer {
223223
{
224224
return true;
225225
}
226-
226+
}
227227
}
228228
WebCommand::AddTextFile(text_file) => {
229229
let file_id = text_file.id;

0 commit comments

Comments
 (0)