Skip to content
Snippets Groups Projects
Commit 1a3e4508 authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

make using receiver proxy work

parent 51785435
No related branches found
No related tags found
No related merge requests found
......@@ -110,9 +110,12 @@ class JingleFileTransfer(JingleContent):
def __state_changed(self, nextstate, args=None):
# Executes the next state action and sets the next state
current_state = self.state
st = self.states[nextstate]
st.action(args)
self.state = nextstate
# state can have been changed during the action. Don't go back.
if self.state == current_state:
self.state = nextstate
def __on_session_initiate(self, stanza, content, error, action):
gajim.nec.push_incoming_event(FileRequestReceivedEvent(None,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment