2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

fixed shared memory locations, scheme updated

This commit is contained in:
John Preston
2015-12-29 20:54:34 +08:00
parent 820339d390
commit cdcd9d8d54
15 changed files with 976 additions and 366 deletions

View File

@@ -1405,7 +1405,6 @@ HistoryItem *History::createItem(HistoryBlock *block, const MTPMessage &msg, boo
case mtpc_webPage:
case mtpc_webPageEmpty:
case mtpc_webPagePending: break;
case mtpc_webPageExternal: LOG(("API Error: should not get webPageExternal in History::createItem"));
default: badMedia = 1; break;
}
break;
@@ -6112,7 +6111,6 @@ void HistoryMessage::initMedia(const MTPMessageMedia *media, QString &currentTex
case mtpc_webPage: {
_media = new HistoryWebPage(App::feedWebPage(d.c_webPage()));
} break;
case mtpc_webPageExternal: LOG(("API Error: should not get webPageExternal in HistoryMessage::initMedia")); break;
}
} break;
};