Mercurial > hg
diff mcabber/src/hooks.c @ 675:ae7016aae014
New "beep_on_message" option
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Wed, 25 Jan 2006 22:00:06 +0100 |
parents | 29a0637c176f |
children | ee03b56b93ee |
line wrap: on
line diff
--- a/mcabber/src/hooks.c Tue Jan 17 23:32:28 2006 +0100 +++ b/mcabber/src/hooks.c Wed Jan 25 22:00:06 2006 +0100 @@ -121,6 +121,10 @@ if ((is_groupchat && !timestamp) || !is_groupchat) hk_ext_cmd(jid, (is_groupchat ? 'G' : 'M'), 'R', wmsg); + // Beep, if enabled + if (settings_opt_get_int("beep_on_message")) + scr_Beep(); + // We need to rebuild the list if the sender is unknown or // if the sender is offline/invisible and hide_offline_buddies is set if (new_guy ||