From 8061146d4f92860bb9ea69d2694d35a13a5be845 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Philipp=20H=C3=B6rist?= <philipp@hoerist.com>
Date: Sat, 10 Nov 2018 18:51:21 +0100
Subject: [PATCH] Remove unused code

Code is also not cross-platform compatible
---
 gajim/common/helpers.py | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/gajim/common/helpers.py b/gajim/common/helpers.py
index 15b0d053d5..c731abb676 100644
--- a/gajim/common/helpers.py
+++ b/gajim/common/helpers.py
@@ -763,9 +763,6 @@ def strip_soundfile_path(file_, dirs=None, abs_=True):
     return file_
 
 def play_sound_file(path_to_soundfile):
-    if path_to_soundfile == 'beep':
-        exec_command('beep')
-        return
     path_to_soundfile = check_soundfile_path(path_to_soundfile)
     if path_to_soundfile is None:
         return
-- 
GitLab