Commit e05f2fee authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Don't delete empty groups.

It was racy, and it drops the chat history.  Let them accumulate for now.
parent 4b3ce50d
......@@ -256,10 +256,6 @@ func delClient(c *client) {
return
}
delete(g.clients, c.id)
if len(g.clients) == 0 && !g.description.Public {
delGroupUnlocked(g.name)
}
}
func (g *group) getClients(except *client) []*client {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment