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):
or app.interface.msg_win_mgr.get_control(obj.jid, account))
if not ctrl:
return
session = app.connections[obj.conn.name].get_jingle_session(obj.fjid,
session = app.connections[obj.conn.name].get_module('Jingle').get_jingle_session(obj.fjid,
obj.sid)
if ('initiator', 'xhtml') not in session.contents:
......
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