feat(xep): Allow ignoring the discussion history
Also allow specifying the amount of stanzas of discussion history we want.
This commit is contained in:
1 parent
d4416c8a47
commit
d7c13abde6
3 files changed
+105
-13
No files matched your search
@@ -58,7 +58,11 @@ void main(List<String> args) async {
|
||||
Logger.root.info('Connected.');
|
||||
|
||||
// Join room
|
||||
await connection.getManagerById<MUCManager>(mucManager)!.joinRoom(muc, nick);
|
||||
await connection.getManagerById<MUCManager>(mucManager)!.joinRoom(
|
||||
muc,
|
||||
nick,
|
||||
maxHistoryStanzas: 0,
|
||||
);
|
||||
|
||||
final repl = Repl(prompt: '> ');
|
||||
await for (final line in repl.runAsync()) {
|
||||
|
||||
Reference in new issue
Block a user