2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-10-03 13:26:03 +00:00

Independent check for image in Linux native notifications

This commit is contained in:
Ilya Fedin
2020-02-25 03:45:46 +04:00
committed by John Preston
parent 3a5c0976bb
commit 3b300f23e1
2 changed files with 49 additions and 40 deletions

View File

@@ -50,7 +50,7 @@ public:
NotificationData(NotificationData &&other) = delete;
NotificationData &operator=(NotificationData &&other) = delete;
bool show(bool hideNameAndPhoto);
bool show();
bool close();
void setImage(const QString &imagePath);
@@ -69,6 +69,7 @@ private:
QString _body;
QStringList _actions;
QVariantMap _hints;
QString _imageKey;
uint _notificationId;
PeerId _peerId;