Add image previews in HTML messages
This commit is contained in:
@@ -39,7 +39,7 @@ Row {
|
||||
// (isOwn ? " " + content : "")
|
||||
|
||||
text: (dict.formatted_body ?
|
||||
Backend.htmlFilter.sanitize(dict.formatted_body) :
|
||||
Backend.htmlFilter.filter(dict.formatted_body) :
|
||||
dict.body) +
|
||||
" <font size=" + smallSize + "px color=gray>" +
|
||||
Qt.formatDateTime(date_time, "hh:mm:ss") +
|
||||
|
@@ -20,5 +20,9 @@ Rectangle {
|
||||
clip: true
|
||||
topMargin: space
|
||||
bottomMargin: space
|
||||
|
||||
// Keep x scroll pages cached, to limit images having to be
|
||||
// reloaded from network.
|
||||
cacheBuffer: height * 6
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user