- ![](${webimroot}${msg:image.chat.history}) |
+ ![](${webimroot}${url:image.chat.history}) |
@@ -204,7 +204,7 @@ ${if:canpost}
- ![](${webimroot}${msg:image.chat.message}) |
+ ![](${webimroot}${url:image.chat.message}) |
${if:isOpera95}
${else:isOpera95}
diff --git a/src/messenger/webim/libs/expand.php b/src/messenger/webim/libs/expand.php
index 18fe84af..aef55a9f 100644
--- a/src/messenger/webim/libs/expand.php
+++ b/src/messenger/webim/libs/expand.php
@@ -53,7 +53,7 @@ function expand_var($matches) {
}
}
- } else if($prefix == 'msg:') {
+ } else if($prefix == 'msg:' || $prefix == 'url:') {
if(strpos($var,",")!==false) {
$pos = strpos($var,",");
$param = substr($var, $pos+1);
| |