Commit e24f63c3 authored by Philipp Hörist's avatar Philipp Hörist

Remove unused code

parent 3f6edc15
......@@ -217,12 +217,6 @@ class Interface:
self.unblock_signed_in_notifications,
event.account)
if (event.account in self.show_vcard_when_connect and
event.show not in ('offline', 'error')):
action = '%s-profile' % event.account
app.app.activate_action(action, GLib.Variant('s', event.account))
self.show_vcard_when_connect.remove(event.account)
@staticmethod
def handle_gc_error(gc_control, pritext, sectext):
if gc_control and gc_control.autorejoin is not None:
......@@ -2025,8 +2019,6 @@ class Interface:
logind.enable()
music_track.enable()
self.show_vcard_when_connect = []
idle.Monitor.set_interval(app.config.get('autoawaytime') * 60,
app.config.get('autoxatime') * 60)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment