From 39e710dbc4a8b5cd8784511c8890e6e08733e6f5 Mon Sep 17 00:00:00 2001 From: harveyshao Date: Tue, 28 Dec 2021 15:35:21 +0800 Subject: [PATCH] opt some --- lib/misc.js | 1 + 1 file changed, 1 insertion(+) 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) }),