2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Small layout search field hidden. Crash fix in common groups section.

Also clearing cloud drafts in deactivated chats after migrating them.
This commit is contained in:
John Preston
2017-01-18 13:26:33 +03:00
parent 8f31e1ab31
commit 8bb14f4565
5 changed files with 42 additions and 16 deletions

View File

@@ -3626,6 +3626,11 @@ void readSavedGifs() {
void writeBackground(int32 id, const QImage &img) {
if (!_working() || !_backgroundCanWrite) return;
if (!_localKey.created()) {
LOG(("App Error: localkey not created in writeBackground()"));
return;
}
QByteArray bmp;
if (!img.isNull()) {
QBuffer buf(&bmp);