Commit 39d4ed44 by Sixong.Zhu

update

parent 6e9fbd6b
Showing with 4 additions and 1 deletions
...@@ -36,7 +36,10 @@ ...@@ -36,7 +36,10 @@
if (this.messageRealUrl) { if (this.messageRealUrl) {
const sdk = Chat.getSdk(); const sdk = Chat.getSdk();
const s = sdk.mediaController.buildThumbnail; const s = sdk.mediaController.buildThumbnail;
if (this.messageRealUrl.startsWith("http")) { if (
this.messageRealUrl.startsWith("http") &&
/fs/i.test(this.messageRealUrl)
) {
return ( return (
sdk.global.baseUrl + sdk.global.baseUrl +
s(this.messageRealUrl.replace(sdk.global.baseUrl, ""), 300) s(this.messageRealUrl.replace(sdk.global.baseUrl, ""), 300)
......
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 sign in to comment