Commit e4a7cdfd authored by Dan Pascu's avatar Dan Pascu

Simplified how we get the session list from the conference

parent c1427925
...@@ -1823,7 +1823,7 @@ class AudioSessionModel(QAbstractListModel): ...@@ -1823,7 +1823,7 @@ class AudioSessionModel(QAbstractListModel):
self.structureChanged.emit() self.structureChanged.emit()
def breakConference(self, conference): # replace this by an endConference (or termninate/hangupConference) functionality -Dan def breakConference(self, conference): # replace this by an endConference (or termninate/hangupConference) functionality -Dan
sessions = [session for session in self.sessions if session.conference is conference] sessions = [blink_session.items.audio for blink_session in conference.sessions]
session_list = self.session_list session_list = self.session_list
selection_model = session_list.selectionModel() selection_model = session_list.selectionModel()
selection = selection_model.selection() selection = selection_model.selection()
......
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