Commit dede4ba4 authored by Philipp Hörist's avatar Philipp Hörist

Adapt to MucConfigResult changes in nbxmpp

parent 94160d83
......@@ -22,6 +22,7 @@ import nbxmpp
from nbxmpp.const import InviteType
from nbxmpp.const import PresenceType
from nbxmpp.structs import StanzaHandler
from nbxmpp.util import is_error_result
from gajim.common import app
from gajim.common import helpers
......@@ -429,7 +430,7 @@ class MUC(BaseModule):
self._nbxmpp('MUC').invite(room, to, reason, password, continue_, type_)
def _config_received(self, result):
if result.is_error:
if is_error_result(result):
return
app.nec.push_incoming_event(NetworkEvent(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment