increase size of url preview thumbnail
This commit is contained in:
parent
cd1a99186b
commit
b459395d6d
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue