1.55 KB, patch
|Details | Diff | Splinter Review|
Each chat offer should be displayed with the current position in the queue to allow helpers to answer older questions first. A lot of older chats currently time out since Fastpath doesn't always send questions in order.
Created attachment 333188 [details] [diff] [review] Add current queue information to <offer/> A small patch to add a "queueInfo" field to each chat offer in a queue. This is currently a hardcoded phrase such as "3 in Default Queue". (This does not affect chats sent outside of a queue via a direct invite to a workgroup.) If this is to be implemented upstream, this patch should be changed to return the actual data with a corresponding patch to Spark. By using a server-side-only patch, we avoid having to push a patched Spark build to all helpers. Instructions to apply: 1) Obtain the source code via SVN for the Openfire 3.5.x branch (The latest Fastpath security update, 4.0.0, isn't in the Openfire 3.5.2 source tarball) 2) Apply the patch 3) Build the plugins using "ant plugins" in the build directory. (ant must be installed for building) 4) Upload the built fastpath.jar file to the Openfire server using the admin console. 5) From the Openfire admin panel, create a hidden variable called queueInfo in Fastpath->Workgroups->Support->Form UI (If this step is omitted, the queue information can still be seen by the helper using "View more information" in the chat request window)
Matthew- Only the fastpath plugin needs to be rebuilt with this, yes?
(In reply to comment #2) > Only the fastpath plugin needs to be rebuilt with this, yes? That is correct, the fastpath plugin is the only one that is changed with this.
Created attachment 333847 [details] [diff] [review] The first position in the queue should be 1, not 0 The previous patch displayed the first person in the queue as position 0, this increments it by one.
Patch checked in to trunk, r20210