add file log page to cm
* Only send and receive logs are shown * For older version, client send to server doesn't have size information, because server side doesn't know the total_size * Not switch tabs automatically when new files are transferred * If cm side page is open, not pop up automatically when new files are transferred * Show unread message count * The cm tab remains open when closed if a file transfer has previously occurred Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
parent
e88e17a4b0
commit
2afce3f1f4
14 changed files with 519 additions and 39 deletions
|
|
@ -907,6 +907,10 @@ pub mod connection_manager {
|
|||
let client_json = serde_json::to_string(&client).unwrap_or("".into());
|
||||
self.push_event("update_voice_call_state", vec![("client", &client_json)]);
|
||||
}
|
||||
|
||||
fn file_transfer_log(&self, log: String) {
|
||||
self.push_event("cm_file_transfer_log", vec![("log", &log.to_string())]);
|
||||
}
|
||||
}
|
||||
|
||||
impl FlutterHandler {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue