fix: Add missing calcDisplayname global rules to client constructor
This two parameters were already documented but were missing in the constructor. They can also be final.
This commit is contained in:
parent
27783b4fec
commit
43d5b1c523
|
|
@ -91,9 +91,9 @@ class Client extends MatrixApi {
|
|||
|
||||
bool requestHistoryOnLimitedTimeline;
|
||||
|
||||
bool formatLocalpart = true;
|
||||
final bool formatLocalpart;
|
||||
|
||||
bool mxidLocalPartFallback = true;
|
||||
final bool mxidLocalPartFallback;
|
||||
|
||||
// For CommandsClientExtension
|
||||
final Map<String, FutureOr<String?> Function(CommandArgs)> commands = {};
|
||||
|
|
@ -165,6 +165,8 @@ class Client extends MatrixApi {
|
|||
this.sendMessageTimeoutSeconds = 60,
|
||||
this.requestHistoryOnLimitedTimeline = false,
|
||||
Set<String>? supportedLoginTypes,
|
||||
this.mxidLocalPartFallback = true,
|
||||
this.formatLocalpart = true,
|
||||
this.compute,
|
||||
Filter? syncFilter,
|
||||
@deprecated bool? debug,
|
||||
|
|
|
|||
Loading…
Reference in New Issue