Commit d63d5eea authored by Daryl Herzmann's avatar Daryl Herzmann Committed by akrherz

fix agent session transfer, closes OF-413


git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/trunk@12006 b35dd754-fafc-0310-a699-88a17e54d16e
parent 3eac4711
...@@ -101,8 +101,10 @@ public class TransferRequest extends Request { ...@@ -101,8 +101,10 @@ public class TransferRequest extends Request {
} }
else { else {
JID workgroupJID = new JID(jid); JID workgroupJID = new JID(jid);
userRequest = WorkgroupManager.getInstance().getWorkgroup(workgroupJID) // Replace the workgroup if the original offer originated from a different
.getUserRequest(sessionID); // workgroup
this.workgroup = WorkgroupManager.getInstance().getWorkgroup(workgroupJID);
userRequest = this.workgroup.getUserRequest(sessionID);
} }
// Notify the user request that is now related to this new request // Notify the user request that is now related to this new request
userRequest.addRelatedRequest(this); userRequest.addRelatedRequest(this);
......
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