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

version 0.8.8.dev - audio listened status, photo caption display, map places name-address display, gray muted badges, invite links support, some fixes

This commit is contained in:
John Preston
2015-04-30 16:53:36 +03:00
parent aeb2ec68ef
commit fb32c5bcd1
29 changed files with 2076 additions and 477 deletions

View File

@@ -42,9 +42,6 @@ public:
PeerData *peer() const;
bool allMediaShown() const;
void gotFullUser(const MTPUserFull &user);
void gotFullChat(const MTPmessages_ChatFull &res);
void updateOnlineDisplay();
void updateOnlineDisplayTimer();
void reorderParticipants();
@@ -93,9 +90,18 @@ public slots:
void onCopyPhone();
void onCopyUsername();
void onInvitationLink();
void onCreateInvitationLink();
void onCreateInvitationLinkSure();
void onFullPeerLoaded(PeerData *peer);
private:
void showAll();
void updateInvitationLink();
void chatInviteDone(const MTPExportedChatInvite &result);
ProfileWidget *_profile;
ScrollArea *_scroll;
@@ -115,7 +121,8 @@ private:
TextLinkPtr _photoLink;
FlatButton _uploadPhoto, _addParticipant;
FlatButton _sendMessage, _shareContact;
LinkButton _cancelPhoto;
LinkButton _cancelPhoto, _createInvitationLink, _invitationLink;
QString _invitationText;
anim::fvalue a_photo;
bool _photoOver;
@@ -148,8 +155,6 @@ private:
typedef QVector<ParticipantData*> ParticipantsData;
ParticipantsData _participantsData;
mtpRequestId _loadingId;
QPoint _lastPos;
QString _onlineText;