about summary refs log tree commit diff stats
path: root/src/ui/core.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/core.c')
-rw-r--r--src/ui/core.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/ui/core.c b/src/ui/core.c
index acb9e550..e1df5edf 100644
--- a/src/ui/core.c
+++ b/src/ui/core.c
@@ -2963,6 +2963,15 @@ ui_show_lines(ProfWin *window, const gchar** lines)
 }
 
 void
+ui_room_update_occupants(const char * const roomjid)
+{
+    ProfWin *window = (ProfWin*)wins_get_muc(roomjid);
+    if (window && win_has_active_subwin(window)) {
+        occupantswin_occupants(roomjid);
+    }
+}
+
+void
 ui_room_show_occupants(const char * const roomjid)
 {
     ProfWin *window = (ProfWin*)wins_get_muc(roomjid);