Fix build on macOS.

This commit is contained in:
John Preston 2021-07-28 19:39:46 +03:00
parent d986e70a89
commit 663c99cc2d

View file

@ -510,7 +510,6 @@ void GenerateItems(
return callback(OwnedItem(delegate, item), sentDate);
};
using Flag = MTPDmessage::Flag;
const auto fromName = from->name;
const auto fromLink = from->createOpenLink();
const auto fromLinkText = textcmdLink(1, fromName);