fix(ChatHeaderContentView): don't display "Contact" subtitle
for 1-to1 chats Fixes: #7419
This commit is contained in:
parent
91d80541be
commit
c7c77b52eb
|
@ -1 +1 @@
|
|||
Subproject commit d892a842277dd78199b608c40da297a73de24c91
|
||||
Subproject commit 3202294a119f96825c1bde6b9c6c378015e5d1f3
|
|
@ -259,10 +259,6 @@ RowLayout {
|
|||
// In some moment in future this should be part of the backend logic.
|
||||
// (once we add transaltion on the backend side)
|
||||
switch (chatContentModule.chatDetails.type) {
|
||||
case Constants.chatType.oneToOne:
|
||||
return (chatContentModule.isMyContact(chatContentModule.chatDetails.id) ?
|
||||
qsTr("Contact") :
|
||||
qsTr("Not a contact"))
|
||||
case Constants.chatType.publicChat:
|
||||
return qsTr("Public chat")
|
||||
case Constants.chatType.privateGroupChat:
|
||||
|
|
Loading…
Reference in New Issue