Improve notifications

* Add actions for opening chat and marking messages as read
* Do not notify for new messages when sender is muted or chat with sender is already opened

Co-authored-by: Jonah Brüchert <jbb.prv@gmx.de>
Co-authored-by: caca hueto <cacahueto@olomono.de>
9 jobs for android-knotifications in 41 minutes and 21 seconds (queued for 1 second)
Status Job ID Name Coverage
  Test
passed #44316
clazy

00:02:37

passed #44317
qmllint

00:02:17

 
  Build
passed #44320
archlinux

00:01:55

passed #44319
debian-sid

00:00:57

passed #44318
neon-bionic

00:01:02

 
  Deploy
passed #44323
android

00:17:17

passed #44321
linux-appimage

00:08:18

passed #44324
mac-osxcross

00:03:38

failed #44322
allowed to fail
windows-mxe

00:03:14

 
Name Stage Failure
failed
windows-mxe Deploy
/builds/jbbgameich/kaidan/src/MessageModel.cpp:160:10: warning: enumeration value 'Error' not handled in switch [-Wswitch]
make[2]: *** [CMakeFiles/kaidan.dir/build.make:2784: CMakeFiles/kaidan.dir/src/MessageModel.cpp.obj] Error 1
make[1]: *** [CMakeFiles/Makefile2:68: CMakeFiles/kaidan.dir/all] Error 2
make: *** [Makefile:95: all] Error 2
$ mv build/bin/kaidan.exe kaidan.exe
mv: cannot stat 'build/bin/kaidan.exe': No such file or directory
Running after_script
Uploading artifacts for failed job
ERROR: Job failed: exit code 1