mirror of
https://dev.narayana.im/narayana/telegabber.git
synced 2026-08-05 12:17:06 +00:00
Fix infinite loop because of error presences
This commit is contained in:
parent
74b2dff9f5
commit
a909b86831
1 changed files with 4 additions and 0 deletions
|
|
@ -669,6 +669,10 @@ func tryHandleMUCPresence(s xmpp.Sender, p stanza.Presence) {
|
|||
return
|
||||
}
|
||||
|
||||
if p.Type == stanza.PresenceTypeError {
|
||||
return
|
||||
}
|
||||
|
||||
if !session.MUCHasResource(chatId, fromResource) {
|
||||
// groupchat 1.0 join
|
||||
gateway.SendPresence(
|
||||
|
|
|
|||
Loading…
Reference in a new issue