diff --git a/lib/misc.js b/lib/misc.js index 30ea7be2..ded1fd7c 100644 --- a/lib/misc.js +++ b/lib/misc.js @@ -215,6 +215,7 @@ Volcanos("misc", {help: "通信协议", Message: function(event, can) { var msg }), MergeURL: shy("地址链接", function(can, objs, clear) { var path = location.pathname; objs._path && (path = objs._path, delete(objs._path)) + objs && objs.pod && (path = "/chat/pod/"+objs.pod, delete(objs.pod)) return can.base.MergeURL(location.origin+path+(clear?"":location.search), objs) }),