This commit is contained in:
parent
bbb9a2d6c2
commit
1efcb8837c
2 changed files with 34 additions and 24 deletions
|
|
@ -539,7 +539,8 @@ impl MTPClient {
|
|||
.add_typed_default(DataType::Version, DataValue::Str(version_str.clone()))
|
||||
.add_typed_default(DataType::PublicKeys, DataValue::Bytes(pk_bytes.clone()));
|
||||
if let Some(desc) = &config.description {
|
||||
register = register.add_typed_default(DataType::Description, DataValue::Str(desc.clone()));
|
||||
register =
|
||||
register.add_typed_default(DataType::Description, DataValue::Str(desc.clone()));
|
||||
}
|
||||
if let Err(e) = sender.send(®ister).await {
|
||||
sender.close();
|
||||
|
|
|
|||
Loading…
Reference in a new issue