2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 14:45:14 +00:00

sessions, two-step verification and links preview done for os x version

This commit is contained in:
John Preston
2015-04-05 11:40:56 +03:00
parent f3bb155b0a
commit e6ef982706
7 changed files with 103 additions and 56 deletions

View File

@@ -4385,7 +4385,8 @@ HistoryMedia *HistoryMessage::getMedia(bool inOverview) const {
void HistoryMessage::setMedia(const MTPmessageMedia &media) {
if (_media) return;
initMedia(media, QString());
QString t;
initMedia(media, t);
if (_media) {
QString was = HistoryMessage::selectedText(FullItemSel);
if (was.isEmpty()) {