mirror of
https://github.com/stoatchat/for-legacy-web.git
synced 2026-03-07 09:25:27 +00:00
Make sure to focus window for desktop notifs.
Prevent empty pastes of files. Log push errors.
This commit is contained in:
@@ -136,6 +136,7 @@ function Notifier(props: Props) {
|
||||
|
||||
if (notif) {
|
||||
notif.addEventListener("click", () => {
|
||||
window.focus();
|
||||
const id = msg.channel;
|
||||
if (id !== channel_id) {
|
||||
let channel = client.channels.get(id);
|
||||
|
||||
Reference in New Issue
Block a user