Adapt to MucConfigResult changes in nbxmpp
This commit is contained in:
parent
94160d830f
commit
dede4ba4f2
1 changed files with 2 additions and 1 deletions
|
@ -22,6 +22,7 @@ import nbxmpp
|
||||||
from nbxmpp.const import InviteType
|
from nbxmpp.const import InviteType
|
||||||
from nbxmpp.const import PresenceType
|
from nbxmpp.const import PresenceType
|
||||||
from nbxmpp.structs import StanzaHandler
|
from nbxmpp.structs import StanzaHandler
|
||||||
|
from nbxmpp.util import is_error_result
|
||||||
|
|
||||||
from gajim.common import app
|
from gajim.common import app
|
||||||
from gajim.common import helpers
|
from gajim.common import helpers
|
||||||
|
@ -429,7 +430,7 @@ class MUC(BaseModule):
|
||||||
self._nbxmpp('MUC').invite(room, to, reason, password, continue_, type_)
|
self._nbxmpp('MUC').invite(room, to, reason, password, continue_, type_)
|
||||||
|
|
||||||
def _config_received(self, result):
|
def _config_received(self, result):
|
||||||
if result.is_error:
|
if is_error_result(result):
|
||||||
return
|
return
|
||||||
|
|
||||||
app.nec.push_incoming_event(NetworkEvent(
|
app.nec.push_incoming_event(NetworkEvent(
|
||||||
|
|
Loading…
Add table
Reference in a new issue