feat(xep): Allow changing the SASL2 user agent

This commit is contained in:
2023-06-11 16:30:49 +02:00
parent f2d8c6a009
commit aa71d3ed5d
9 changed files with 36 additions and 55 deletions

View File

@@ -44,13 +44,12 @@ void main() {
FASTSaslNegotiator(),
Bind2Negotiator(),
StartTlsNegotiator(),
Sasl2Negotiator(
userAgent: const UserAgent(
Sasl2Negotiator()
..userAgent = const UserAgent(
id: 'd4565fa7-4d72-4749-b3d3-740edbf87770',
software: 'moxxmpp',
device: "PapaTutuWawa's awesome device",
),
),
]);
final result = await conn.connect(