Properly remove the resource from the server when we leave the last channel
This commit is contained in:
@@ -278,6 +278,7 @@ private:
|
||||
void add_resource_to_server(const IrcHostname& irc_hostname, const std::string& resource);
|
||||
void remove_resource_from_server(const IrcHostname& irc_hostname, const std::string& resource);
|
||||
bool is_resource_in_server(const IrcHostname& irc_hostname, const std::string& resource) const;
|
||||
size_t number_of_channels_the_resource_is_in(const std::string& irc_hostname, const std::string& resource) const;
|
||||
|
||||
/**
|
||||
* Generate all the stanzas to be sent to this resource, simulating a join on this channel.
|
||||
|
||||
Reference in New Issue
Block a user