aboutsummaryrefslogtreecommitdiff
path: root/qml/ChatlistPage.qml
diff options
context:
space:
mode:
authorlink2xt <link2xt@testrun.org>2021-02-19 11:04:56 +0300
committerlink2xt <link2xt@testrun.org>2021-02-19 11:04:56 +0300
commit913cca96717c7a2d81162c6af593dfcad98653a8 (patch)
tree8999084a6e95e0c5c1213626ec10564c1df0d376 /qml/ChatlistPage.qml
parent73ebfd5e795743650f2b1fe32734ad2f36d6a6df (diff)
downloadkdeltachat-913cca96717c7a2d81162c6af593dfcad98653a8.tar.gz
kdeltachat-913cca96717c7a2d81162c6af593dfcad98653a8.zip
chatlist: use text2 in summaries
Diffstat (limited to 'qml/ChatlistPage.qml')
-rw-r--r--qml/ChatlistPage.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/qml/ChatlistPage.qml b/qml/ChatlistPage.qml
index 985afaf..a6efee1 100644
--- a/qml/ChatlistPage.qml
+++ b/qml/ChatlistPage.qml
@@ -41,7 +41,7 @@ Kirigami.Page {
const item = {
chatId: chatId,
msgId: chatlist.getMsgId(i),
- username: summary.text1
+ username: (summary.text1 != "" ? summary.text1 + ": " : "") + summary.text2
}
let j;