diff options
author | Loren Burkholder <computersemiexpert@outlook.com> | 2021-02-20 12:00:13 -0500 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2021-03-17 19:17:14 +0100 |
commit | 4a86e14d04d2f20d02f41801e755e1b2be803e48 (patch) | |
tree | 2c34837cac868d9319923f2cc1c81682eecfb15a /src/notifications | |
parent | Only HTML-format the body if it should be formatted (diff) | |
download | nheko-4a86e14d04d2f20d02f41801e755e1b2be803e48.tar.xz |
Simplify determination of whether markup is supported
This should also result in a speed increase (however slight), since the capabilities are now sorted through only once.
Diffstat (limited to 'src/notifications')
-rw-r--r-- | src/notifications/ManagerLinux.cpp | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/src/notifications/ManagerLinux.cpp b/src/notifications/ManagerLinux.cpp |