mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Fix client side generated changelogs display.
Also use message date if available in MediaView.
This commit is contained in:
@@ -53,9 +53,6 @@ public:
|
||||
void clearPasscodeLock();
|
||||
void setupIntro();
|
||||
void setupMain();
|
||||
void serviceNotification(const TextWithEntities &message, const MTPMessageMedia &media = MTP_messageMediaEmpty(), int32 date = 0, bool force = false);
|
||||
void sendServiceHistoryRequest();
|
||||
void showDelayedServiceMsgs();
|
||||
|
||||
MainWidget *chatsWidget() {
|
||||
return mainWidget();
|
||||
@@ -166,15 +163,6 @@ private:
|
||||
void placeSmallCounter(QImage &img, int size, int count, style::color bg, const QPoint &shift, style::color color) override;
|
||||
QImage icon16, icon32, icon64, iconbig16, iconbig32, iconbig64;
|
||||
|
||||
struct DelayedServiceMsg {
|
||||
DelayedServiceMsg(const TextWithEntities &message, const MTPMessageMedia &media, int32 date) : message(message), media(media), date(date) {
|
||||
}
|
||||
TextWithEntities message;
|
||||
MTPMessageMedia media;
|
||||
int32 date;
|
||||
};
|
||||
QList<DelayedServiceMsg> _delayedServiceMsgs;
|
||||
mtpRequestId _serviceHistoryRequest = 0;
|
||||
TimeMs _lastTrayClickTime = 0;
|
||||
|
||||
object_ptr<Window::PasscodeLockWidget> _passcodeLock = { nullptr };
|
||||
|
Reference in New Issue
Block a user