diff --git a/backends/libcommuni/session.h b/backends/libcommuni/session.h index 029905a7342327229556e4853ba9f530df1981d7..95d88aa707c3eb7147d45be30188bf678f4976ab 100644 --- a/backends/libcommuni/session.h +++ b/backends/libcommuni/session.h @@ -81,6 +81,10 @@ public: removeIRCBuddies(channel); } + void addPM(const std::string &name, const std::string &room) { + m_pms[name] = room; + } + void setIdentify(const std::string &identify) { m_identify = identify; } @@ -133,6 +137,7 @@ protected: bool m_connected; std::list m_rooms; std::list m_names; + std::map m_pms; IRCBuddyMap m_buddies; QTimer *m_awayTimer; };