mirror of https://github.com/procxx/kepka.git
Fix webpage edit display in channel admin log.
This commit is contained in:
parent
8c3b7f6417
commit
76cb5677b2
|
@ -1515,7 +1515,9 @@ TextSelection Message::unskipTextSelection(TextSelection selection) const {
|
|||
QRect Message::countGeometry() const {
|
||||
const auto item = message();
|
||||
const auto media = this->media();
|
||||
const auto mediaWidth = media ? media->width() : width();
|
||||
const auto mediaWidth = (media && media->isDisplayed())
|
||||
? media->width()
|
||||
: width();
|
||||
const auto outbg = hasOutLayout();
|
||||
const auto availableWidth = width()
|
||||
- st::msgMargin.left()
|
||||
|
|
Loading…
Reference in New Issue