l29ah / hsendxmpp

sendxmpp clone and drop-in replacement, sending XMPP messages via CLI
GNU Affero General Public License v3.0
7 stars 0 forks source link

Sometimes the message doesn't get sent to a MUC #1

Open l29ah opened 3 years ago

l29ah commented 3 years ago

Observed in ejabberd-local MUCs. Adding a sleep before endSession works around the issue. Poking it with @weiss uncovered that it's likely pontarius-xmpp closing the connection before even the unavailable presence gets out.

mdosch commented 3 years ago

That sounds familiar. :D https://salsa.debian.org/mdosch/go-sendxmpp/-/blob/master/go-sendxmpp.go#L533

l29ah commented 3 years ago

Oh, so this is ejabberd's fault!?

mdosch commented 3 years ago

I don't think so. I have been told it's the lib closing the stream to early: https://github.com/mattn/go-xmpp/issues/112

On 18.11.2021 20:13, Sergey Alirzaev wrote:

Oh, so this is ejabberd's fault!?

-- You are receiving this because you commented. Reply to this email directly or view it on GitHub: https://github.com/l29ah/hsendxmpp/issues/1#issuecomment-973719707