Show current conversation image

This commit is contained in:
2021-03-07 15:33:29 +01:00
parent 298c251e2f
commit 4fdb74d9d0
2 changed files with 16 additions and 1 deletions

View File

@ -730,10 +730,21 @@ const ConvChatWindow = {
appendTo: settingsForm.rootElem,
type: "div",
class: "conversation-image-settings",
innerHTML: "<br/><br/><p><strong>" + tr("Conversation image") + ": </strong></p>"
innerHTML: "<br/><br/><p><strong>" + tr("Conversation image") + "</strong></p>"
})
// Show current
if (conversation.infos.logo != null) {
createElem2({
appendTo: convImageSection,
type: "img",
src: conversation.infos.logo,
class: "current-image"
})
}
// Upload a new logo
const newConvImagebutton = createElem2({
appendTo: convImageSection,