Skip to content

Commit

Permalink
Current version of Psi+ is 1.5.2061
Browse files Browse the repository at this point in the history
It is based on:
* psi: ed7e1350
* plugins: 347230b
* psimedia: 478567e
* resources: fc4cfc1
  • Loading branch information
tehnick committed Oct 12, 2024
1 parent 6b7f0e1 commit 24b7f9b
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
2 changes: 1 addition & 1 deletion themes/chatview/psi/adapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ function psiThemeAdapter(chat) {
if (this.name == "sender") { //may not be html
d = chat.util.escapeHtml(d);
} else if (d instanceof Date) {
// "date" and "time" variables use TemplateTimeVar. this is something unknown
chat.console("WARNING: " + this.name + " isn't handled by TemplateTimeVar");
d = chat.util.dateFormat(d, shared.dateTimeFormat);
} else if (this.name == "avatarurl") {
var url;
Expand Down
10 changes: 10 additions & 0 deletions themes/chatview/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -981,6 +981,16 @@ ${info}
}
}

// we need "time" as Date for groupping.
if (data.time) {
data.time = new Date(data.time);
}

// "date" is not really required that early but why not
if (data.date) {
data.date = new Date(data.date);
}

if (data.type == "message") {
if (data.mtype == "join") {
usersMap[data.sender] = {avatar:data.avatar, nickcolor:data.nickcolor, msgs:{}};
Expand Down
2 changes: 1 addition & 1 deletion version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.5.2060 (2024-10-12, 9ddd60f6)
1.5.2061 (2024-10-12, ed7e1350)

0 comments on commit 24b7f9b

Please sign in to comment.