From 46d3da365c7691a6c8d079befeacb4b86c6ae62c Mon Sep 17 00:00:00 2001 From: mathieui Date: Sat, 4 Jun 2016 23:03:40 +0200 Subject: Fix #3114 (implement CSI in the tmux/screen plugin) --- plugins/screen_detach.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'plugins') diff --git a/plugins/screen_detach.py b/plugins/screen_detach.py index 2b42d01a..50519871 100644 --- a/plugins/screen_detach.py +++ b/plugins/screen_detach.py @@ -93,6 +93,10 @@ class Plugin(BasePlugin, pyinotify.Notifier): self.attached = attached status = 'available' if self.attached else 'away' self.core.command_status(status) + if self.attached: + self.core.xmpp.plugin['xep_0352'].send_active() + else: + self.core.xmpp.plugin['xep_0352'].send_inactive() class HandleScreen(pyinotify.ProcessEvent): def my_init(self, **kwargs): -- cgit v1.2.3