Temporary way to update chat feed on new message (should be improved)

This commit is contained in:
Bofh 2020-12-25 18:53:20 +01:00
parent 71670ebfbf
commit 6b562194ff
1 changed files with 3 additions and 1 deletions

View File

@ -87,7 +87,9 @@ function api_send_message(dom) {
} }
function fedilove_on_notification_event() { function fedilove_on_notification_event() {
alert('it worked!!'); if ($('div.the-list > div:last-child > article').length > 0) {
$('div.the-list > div:last-child > article').click();
}
} }
// this is our URL-based customizations made by JavaScript // this is our URL-based customizations made by JavaScript