Commit graph

15 commits

Author SHA1 Message Date
Sebastian Wolf
775a31cecb
Implement delete/add chat members properly, fixes #131 2020-12-29 16:32:39 +01:00
Slava Monich
3d48125371 Add MceInterface object 2020-11-23 01:38:06 +02:00
Slava Monich
d1ccf9f796 Show notification popups except for the current chat
And drop dependency on Ngf. Also, pre-initialize the chat photo when
pushing the chat page.
2020-11-20 21:42:23 +02:00
Slava Monich
45180b64b4 Don't post unwanted feedback for removed notifications
Also, don't turn off PatternCommunicationIM pattern when some (but
not all) notifications are removed, don't keep empty notification
groups in notificationGroups map, reuse already posted notification
after restarting the client, handle chat title change and more...
2020-11-01 21:07:15 +02:00
Slava Monich
9504b24d5c Pre-allocate commonly used QStrings in NotificationManager
To avoid overhead (e.g. ASCII => UTF16 convertion) on each use.
2020-11-01 21:07:15 +02:00
Slava Monich
484f66f01c Don't pass primitive types by const references to NotificationManager
It makes no sense whatsoever.
2020-11-01 21:07:15 +02:00
Sebastian J. Wolf
91ae3651ef Change license header to reflect number of contributions 2020-10-19 19:34:47 +02:00
Slava Monich
f75e5a3f4b Added "Notification feedback" combo box 2020-10-18 18:02:44 +03:00
Slava Monich
6e1e100a87 Don't initialize MCE QDBusInterface on every D-Bus call
It's enough to initialize it once at startup.

Also avoided a few per-call ASCII => QString conversions and dropped
unnecessary mutex.
2020-10-18 18:02:44 +03:00
Sebastian J. Wolf
fdf89fd8a8 Add NGF daemon and LED control for notifications 2020-09-13 21:54:36 +02:00
Sebastian J. Wolf
7dd8e07a39 Consolidate messages belonging to the same chat 2020-09-09 23:44:02 +02:00
Sebastian J. Wolf
239af6e6e7 Sending simple text notifications, yeah! 2020-09-08 23:44:57 +02:00
Sebastian J. Wolf
8809372b67 Backend can really send notifications 2020-09-03 23:20:46 +02:00
Sebastian J. Wolf
9f708080c8 We need chat information in notification manager 2020-09-02 23:05:09 +02:00
Sebastian J. Wolf
aa3a841fee Prepare notification manager 2020-09-02 22:49:15 +02:00