Commit f16a6618 authored by Daniel Brötzmann's avatar Daniel Brötzmann Committed by Philipp Hörist

[whiteboard] Fix get_jingle_session()

parent fbb32d08
...@@ -180,7 +180,7 @@ class WhiteboardPlugin(GajimPlugin): ...@@ -180,7 +180,7 @@ class WhiteboardPlugin(GajimPlugin):
or app.interface.msg_win_mgr.get_control(obj.jid, account)) or app.interface.msg_win_mgr.get_control(obj.jid, account))
if not ctrl: if not ctrl:
return return
session = app.connections[].get_jingle_session(obj.fjid, session = app.connections[].get_module('Jingle').get_jingle_session(obj.fjid,
obj.sid) obj.sid)
if ('initiator', 'xhtml') not in session.contents: if ('initiator', 'xhtml') not in session.contents:
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment