mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-17 14:05:04 +08:00
increase size of url preview thumbnail
This commit is contained in:
parent
cd1a99186b
commit
b459395d6d
@ -107,7 +107,7 @@ export default class LinkPreviewWidget extends React.Component {
|
||||
if (!SettingsStore.getValue("showImages")) {
|
||||
image = null; // Don't render a button to show the image, just hide it outright
|
||||
}
|
||||
const imageMaxWidth = 100; const imageMaxHeight = 100;
|
||||
const imageMaxWidth = 320; const imageMaxHeight = 240;
|
||||
if (image && image.startsWith("mxc://")) {
|
||||
image = MatrixClientPeg.get().mxcUrlToHttp(image, imageMaxWidth, imageMaxHeight);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user