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 {
}
else {
JID workgroupJID = new JID(jid);
userRequest = WorkgroupManager.getInstance().getWorkgroup(workgroupJID)
.getUserRequest(sessionID);
// Replace the workgroup if the original offer originated from a different
// workgroup
this.workgroup = WorkgroupManager.getInstance().getWorkgroup(workgroupJID);
userRequest = this.workgroup.getUserRequest(sessionID);
}
// Notify the user request that is now related to this new request
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