vukoye / xmpp_dart

Lightweight XMPP client library written in Dart
Apache License 2.0
83 stars 64 forks source link

Not able to know my all chat are fetched #98

Open Bhaarat-khatri opened 9 months ago

Bhaarat-khatri commented 9 months ago

Hello developer, I am using this package to build an chat app using openfire. I am stuck at point When I did login, I start receiving chats now when I am receiving chats i want show loader at screen, but I am not able to get any event which tells your all chat are fetched.

I have discovered inStanzaStream present at connection.dart it's giving me all msg stanza one by one but not able to know when all stanza received, so that I can remove loader from my screen. Same thing for chatListStream present at chatManager.dart.

So I want to know by any how I get an event which tell your all stanza or msg are received/fetched from server.

I hope I am clear.

Thanks

TatankaConCube commented 9 months ago

what xmpp specification (XEP) do you describe? could you provide the documentation about the feature you mean?