src: Add chatroom discovery

Change-Id: I45e17a8d8bbcdef6dc5f93c528cde91181f3b578
diff --git a/src/chat-dialog.hpp b/src/chat-dialog.hpp
index 74dd76d..919c511 100644
--- a/src/chat-dialog.hpp
+++ b/src/chat-dialog.hpp
@@ -76,7 +76,7 @@
   {
   }
 
-  shared_ptr<ChatroomInfo>
+  ChatroomInfo
   getChatroomInfo();
 
 private:
@@ -117,9 +117,6 @@
   void
   resetIcon();
 
-  void
-  rosterChanged(const chronochat::ChatroomInfo& info);
-
 public slots:
   void
   onShow();
@@ -167,6 +164,7 @@
   ChatDialogBackend m_backend;
 
   std::string m_chatroomName;
+  Name m_chatroomPrefix;
   QString m_nick;
   bool m_isSecured;