show user coming and leaving
diff --git a/chatdialog.h b/chatdialog.h
index b604b02..60e7c4b 100644
--- a/chatdialog.h
+++ b/chatdialog.h
@@ -63,8 +63,9 @@
   void checkSetting();
   void settingUpdated(QString, QString, QString);
   void sendHello();
+  void sendJoin();
   void replot();
-  void updateRosterList();
+  void updateRosterList(QStringList);
 
   // icon related
   void iconActivated(QSystemTrayIcon::ActivationReason reason);
@@ -87,7 +88,6 @@
   int m_randomizedInterval;
   QTimer *m_timer;
   QStringListModel *m_rosterModel;
-  bool m_sendJoin;
 
   // icon related
   QAction *minimizeAction;