feat(xep): Allow changing the SASL2 user agent

This commit is contained in:
PapaTutuWawa committed 2023-06-11 16:30:49 +02:00
1 parent f2d8c6a009
commit aa71d3ed5d
9 files changed
+36 -55

No files matched your search

+2 -3
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(