This is an automated email from the ASF dual-hosted git repository. solomax pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/openmeetings.git
The following commit(s) were added to refs/heads/master by this push: new 464575e [OPENMEETINGS-1836] patchUrls method is improved 464575e is described below commit 464575ea5b541248ca0044c74764d685d5e8188d Author: Maxim Solodovnik <solomax...@gmail.com> AuthorDate: Mon Mar 12 22:28:15 2018 +0700 [OPENMEETINGS-1836] patchUrls method is improved --- .../java/org/apache/openmeetings/web/room/wb/WbWebSocketHelper.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/openmeetings-web/src/main/java/org/apache/openmeetings/web/room/wb/WbWebSocketHelper.java b/openmeetings-web/src/main/java/org/apache/openmeetings/web/room/wb/WbWebSocketHelper.java index d75b7b6..2707e6d 100644 --- a/openmeetings-web/src/main/java/org/apache/openmeetings/web/room/wb/WbWebSocketHelper.java +++ b/openmeetings-web/src/main/java/org/apache/openmeetings/web/room/wb/WbWebSocketHelper.java @@ -136,7 +136,8 @@ public class WbWebSocketHelper extends WebSocketHelper { return String.format("%s&uid=%s", url, c.getUid()); } - private static JSONObject patchUrls(BaseFileItem fi, Client c, JSONObject f) { + private static JSONObject patchUrls(BaseFileItem fi, Client c, JSONObject _f) { + JSONObject f = new JSONObject(_f.toString()); // deep copy to ensure thread safety switch (fi.getType()) { case Video: f.put(PARAM__SRC, patchUrl(f.getString(PARAM__SRC), c)); -- To stop receiving notification emails like this one, please contact solo...@apache.org.