diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2021-04-13 06:25:59 +0100 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2021-04-13 06:25:59 +0100 |
commit | c2048c5c65aea99f2b79290b87635cb1d90863a6 (patch) | |
tree | 8aafdf588893ccdd65c8db53f5188f83f020675b /control-notify.c | |
parent | 46cbbe3d4566885b8ad4235598389936f63c2c01 (diff) | |
parent | bedf2bd4372c60a525c22e6309f329cfd0bd07bc (diff) | |
download | rtmux-c2048c5c65aea99f2b79290b87635cb1d90863a6.tar.gz rtmux-c2048c5c65aea99f2b79290b87635cb1d90863a6.tar.bz2 rtmux-c2048c5c65aea99f2b79290b87635cb1d90863a6.zip |
Merge branch 'master' into 3.2-rc
Diffstat (limited to 'control-notify.c')
-rw-r--r-- | control-notify.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/control-notify.c b/control-notify.c index cc706ac2..6ff0e436 100644 --- a/control-notify.c +++ b/control-notify.c @@ -172,6 +172,17 @@ control_notify_client_session_changed(struct client *cc) } void +control_notify_client_detached(struct client *cc) +{ + struct client *c; + + TAILQ_FOREACH(c, &clients, entry) { + if (CONTROL_SHOULD_NOTIFY_CLIENT(c)) + control_write(c, "%%client-detached %s", cc->name); + } +} + +void control_notify_session_renamed(struct session *s) { struct client *c; |