fix: message.seen not a function, replace with valid function (#6753)

This commit is contained in:
Sagar Vora 2019-01-10 18:27:36 +05:30 committed by GitHub
parent ef7cb64fb4
commit fff2c5f6f4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)
} },