Skip to content

Commit

Permalink
fix the lock symbol for conversation title
Browse files Browse the repository at this point in the history
  • Loading branch information
tschudin committed Aug 2, 2024
1 parent 1d4442c commit ba5656f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion android/tinySSB/app/src/main/assets/web/tremola.js
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,10 @@ function load_chat_title(ch) {
c.style.display = null;
c.setAttribute('classList', ch.forgotten ? 'gray' : '') // old JS (SDK 23)
box = "<div style='white-space: nowrap;'><div style='text-overflow: ellipsis; overflow: hidden;'><font size=+1><strong>" + escapeHTML(ch.alias) + "</strong></font></div>";
box += "<div style='color: black; text-overflow: ellipsis; overflow: hidden;'>" + escapeHTML(recps2display(ch.members)) + "</div></div>";
var mem = "[ALL]"
if (ch.members.length > 1 || ch.members[0] != "ALL")
mem = "🔒 " + recps2display(ch.members)
box += "<div style='color: black; text-overflow: ellipsis; overflow: hidden;'>" + escapeHTML(mem) + "</div></div>";
c.innerHTML = box;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
const BrowserOnlySettings = {
'show_chat_preview': false,
'show_background_map': true,
'websocket_enabled': true,
'websocket_enabled': false,
'show_shortnames': true,
'hide_forgotten_conv': true,
'hide_forgotten_contacts': true,
Expand Down

0 comments on commit ba5656f

Please sign in to comment.