mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
enabled contact share from templates, copy phone number from context menu in profiles
This commit is contained in:
@@ -55,6 +55,10 @@ inline bool isNotifyMuted(NotifySettingsPtr settings) {
|
||||
return (settings->mute > unixtime());
|
||||
}
|
||||
|
||||
style::color peerColor(int32 index);
|
||||
ImagePtr userDefPhoto(int32 index);
|
||||
ImagePtr chatDefPhoto(int32 index);
|
||||
|
||||
struct ChatData;
|
||||
struct UserData;
|
||||
struct PeerData {
|
||||
@@ -1403,6 +1407,8 @@ public:
|
||||
TextLinkPtr getLink(int32 x, int32 y, const HistoryItem *parent, int32 width) const;
|
||||
HistoryMedia *clone() const;
|
||||
|
||||
void updateFrom(const MTPMessageMedia &media);
|
||||
|
||||
private:
|
||||
int32 userId;
|
||||
int32 w, phonew;
|
||||
|
Reference in New Issue
Block a user