diff mcabber/src/screen.c @ 514:979eb0fe2969

Show status changes in buddy window, if it is open
author Mikael Berthe <mikael@lilotux.net>
date Sun, 13 Nov 2005 22:46:46 +0100
parents d40c434fff46
children 180f0a6e4ac9
line wrap: on
line diff
--- a/mcabber/src/screen.c	Sun Nov 13 22:15:19 2005 +0100
+++ b/mcabber/src/screen.c	Sun Nov 13 22:46:46 2005 +0100
@@ -345,6 +345,11 @@
   return NULL;
 }
 
+bool scr_BuddyBufferExists(const char *jid)
+{
+  return (scr_SearchWindow(jid) != NULL);
+}
+
 //  scr_UpdateWindow()
 // (Re-)Display the given chat window.
 static void scr_UpdateWindow(window_entry_t *win_entry)