Commit 84d30bc5 authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gaston

Replaced ${presence} token with --IMAGE--.


git-svn-id: http://svn.igniterealtime.org/svn/repos/messenger/trunk@1677 b35dd754-fafc-0310-a699-88a17e54d16e
parent 259d2f4d
......@@ -31,7 +31,7 @@ import java.util.Map;
*
* <ul>
* <li>Use a single parameter in the URL - Use the <b>images</b> parameter that will include a
* ${presence} token. The ${presence} token would be filtered and would be replaced with
* --IMAGE-- token. The --IMAGE-- token would be filtered and would be replaced with
* codes like "dnd", "offline", "away", etc.</li>
* <li>Use a parameter for each possible presence type - Possible parameters are: <b>offline</b>,
* <b>available</b>, <b>away</b>, <b>chat</b>, <b>dnd</b>, <b>xa</b>. If the parameter was
......@@ -93,7 +93,7 @@ class ImagePresenceProvider extends PresenceInfoProvider {
writeImageContent(request.getParameter(presenceType), defaultImage, response);
}
else if (images != null) {
writeImageContent(images.replace("${presence}", presenceType), defaultImage, response);
writeImageContent(images.replace("--IMAGE--", presenceType), defaultImage, response);
}
else {
writeImageContent(null, defaultImage, response);
......
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