Merge pull request #2064 from famedly/krille/make-dehydrated-device-name-configurable
feat: Make dehydrated device name configurable
This commit is contained in:
commit
fab174c76d
|
|
@ -253,7 +253,7 @@ class OlmManager {
|
|||
|
||||
await client.uploadDehydratedDevice(
|
||||
deviceId: ourDeviceId!,
|
||||
initialDeviceDisplayName: 'Dehydrated Device',
|
||||
initialDeviceDisplayName: client.dehydratedDeviceDisplayName,
|
||||
deviceKeys:
|
||||
uploadDeviceKeys ? MatrixDeviceKeys.fromJson(deviceKeys) : null,
|
||||
oneTimeKeys: signedOneTimeKeys,
|
||||
|
|
|
|||
|
|
@ -239,6 +239,7 @@ class Client extends MatrixApi {
|
|||
/// When sending a formatted message, converting linebreaks in markdown to
|
||||
/// <br/> tags:
|
||||
this.convertLinebreaksInFormatting = true,
|
||||
this.dehydratedDeviceDisplayName = 'Dehydrated Device',
|
||||
}) : syncFilter = syncFilter ??
|
||||
Filter(
|
||||
room: RoomFilter(
|
||||
|
|
@ -376,6 +377,8 @@ class Client extends MatrixApi {
|
|||
|
||||
bool enableDehydratedDevices = false;
|
||||
|
||||
final String dehydratedDeviceDisplayName;
|
||||
|
||||
/// Whether read receipts are sent as public receipts by default or just as private receipts.
|
||||
bool receiptsPublicByDefault = true;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue