aboutsummaryrefslogtreecommitdiff
path: root/qml/ChatlistItem.qml
Commit message (Collapse)AuthorAgeFilesLines
* Implement notifications + "mute/unmute chat" menuMiquel Lionel2021-12-291-20/+35
| | | | | | | | | | | | | | | - Added icons: Pinned and muted chats have icons. It's from Twemoji font, I've added credits in the README.md and source code of ChatlistItem.qml. I prefer to rely on .PNG for this one because icon might not be installed or exist on the system, and we avoid the black box problem. - Modified CMakeLists: added KNotifications as a required library - Modified build.sh: I cannot comprehend how the install(FILES) function from cmake works, so I used good old install from GNU coreutils. It copies usr/ structure and needed files (.desktop and .notifyrc) for KNotifications to work. - Aesthetic changes: context menu is shorter now due to the text being state-aware. You can now also mute a chat so you won't be notified on incoming messages.
* You can unblock people now and some small fixesMiquel Lionel2021-11-201-0/+9
| | | | | | | | | | - the chatlist is now properly updated on blocking a contact request or contact. - A small message is now displayed after blocking a contact request - A list of blocked contact can be found on the settings page, after clicking 'View blocked users' - The message timestamp is now slightly padded
* Clearer pin icon for pinned chats.Miquel Lionel2021-11-021-13/+7
| | | | | - We also remove the rectangle behind it. - remove useless comments in videoChatView
* Fix QML code stylelink2xt2021-10-021-9/+22
| | | | Mostly qmlformat, also rename root "id"s.
* Move chatlist item to a separate QML filelink2xt2021-08-221-0/+109