When joining a channel, send the most recent history found in the database

This commit is contained in:
louiz’
2016-08-22 00:44:17 +02:00
parent 593b326827
commit d1626c929f
7 changed files with 72 additions and 1 deletions
+5
View File
@@ -137,6 +137,11 @@ public:
*/
void send_topic(const std::string& hostname, const std::string& chan_name, const std::string& topic, const std::string& who);
void send_topic(const std::string& hostname, const std::string& chan_name, const std::string& topic, const std::string& who, const std::string& resource);
/**
* Send the MUC history to the user
*/
void send_room_history(const std::string& hostname, const std::string& chan_name);
void send_room_history(const std::string& hostname, const std::string& chan_name, const std::string& resource);
/**
* Send a MUC message from some participant
*/