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

redrawHistoryItem moved to Ui, shared contact updates when is_contact changes

This commit is contained in:
John Preston
2015-12-13 14:17:15 +03:00
parent 2225abec5c
commit 6ec61d4ad6
14 changed files with 126 additions and 119 deletions

View File

@@ -37,7 +37,7 @@ namespace App {
};
namespace Ui { // it doesn't allow me to use UI :(
namespace Ui { // openssl doesn't allow me to use UI :(
void showStickerPreview(DocumentData *sticker);
void hideStickerPreview();
@@ -46,16 +46,19 @@ namespace Ui { // it doesn't allow me to use UI :(
void hideLayer(bool fast = false);
bool isLayerShown();
void redrawHistoryItem(const HistoryItem *item);
void showPeerHistory(const PeerId &peer, MsgId msgId, bool back = false);
void showPeerHistoryAsync(const PeerId &peer, MsgId msgId);
};
namespace Notify {
void userIsBotChanged(UserData *user);
void userIsContactChanged(UserData *user, bool fromThisApp = false);
void botCommandsChanged(UserData *user);
void migrateUpdated(PeerData *peer);
void redrawHistoryItem(const HistoryItem *item);
void historyItemLayoutChanged(const HistoryItem *item);
};