diff options
Diffstat (limited to 'lisp/erc/erc-desktop-notifications.el')
-rw-r--r-- | lisp/erc/erc-desktop-notifications.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/erc/erc-desktop-notifications.el b/lisp/erc/erc-desktop-notifications.el index d8b09324a65..61412e0918d 100644 --- a/lisp/erc/erc-desktop-notifications.el +++ b/lisp/erc/erc-desktop-notifications.el @@ -60,7 +60,7 @@ This will replace the last notification sent with this function." (dbus-ignore-errors (setq erc-notifications-last-notification - (let ((channel (current-buffer))) + (let ((channel (erc-get-buffer nick))) (notifications-notify :bus erc-notifications-bus :title (format "%s in %s" (xml-escape-string nick) |