fix: message.seen not a function, replace with valid function (#6753)
This commit is contained in:
parent
ef7cb64fb4
commit
fff2c5f6f4
1 changed files with 1 additions and 1 deletions
|
|
@ -1992,7 +1992,7 @@ class extends Component {
|
|||
h("li", null,
|
||||
h("a", { class: props.active ? "active": "", onclick: () => {
|
||||
if (props.last_message) {
|
||||
props.last_message.seen(frappe.session.user);
|
||||
frappe.chat.message.seen(props.last_message.name);
|
||||
}
|
||||
props.click(props)
|
||||
} },
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue