pull/1222/head
Nicolas Werner 2 years ago
parent b28fa86e6a
commit 9a90f8868f
No known key found for this signature in database
GPG Key ID: C8D75E610773F2D9
  1. 2
      src/ChatPage.cpp
  2. 2
      src/MxcImageProvider.cpp
  3. 2
      src/Utils.cpp

@ -1074,7 +1074,7 @@ ChatPage::verifyOneTimeKeyCountAfterStartup()
c->second > std::numeric_limits<std::uint16_t>::max()
? std::numeric_limits<std::uint16_t>::max()
: static_cast<std::uint16_t>(c->second);
count = c->second;
count = c->second;
}
nhlog::crypto()->info(

@ -172,7 +172,7 @@ MxcImageProvider::download(const QString &id,
opts.width = static_cast<uint8_t>(requestedSize.width() > 0 ? requestedSize.width() : -1);
opts.height =
static_cast<uint8_t>(requestedSize.height() > 0 ? requestedSize.height() : -1);
opts.method = crop ? "crop" : "scale";
opts.method = crop ? "crop" : "scale";
http::client()->get_thumbnail(
opts,
[fileInfo, requestedSize, radius, then, id, crop, cropLocally](

@ -557,7 +557,7 @@ utils::escapeBlacklistedHtml(const QString &rawStr)
attrValueEnds.end());
auto val = sanitizeValue(QByteArray(
attrStart, static_cast<int>(valueEnd - attrStart)));
attrStart = consumeSpaces(valueEnd);
attrStart = consumeSpaces(valueEnd);
if (val.contains('"'))
continue;

Loading…
Cancel
Save