forked from External/ergo
implement CHATHISTORY TARGETS
This commit is contained in:
parent
4052cd12fe
commit
18b6e2f1cd
9 changed files with 248 additions and 78 deletions
|
|
@ -1017,6 +1017,13 @@ func (server *Server) DeleteMessage(target, msgid, accountName string) (err erro
|
|||
return
|
||||
}
|
||||
|
||||
func (server *Server) UnfoldName(cfname string) (name string) {
|
||||
if strings.HasPrefix(cfname, "#") {
|
||||
return server.channels.UnfoldName(cfname)
|
||||
}
|
||||
return server.clients.UnfoldNick(cfname)
|
||||
}
|
||||
|
||||
// elistMatcher takes and matches ELIST conditions
|
||||
type elistMatcher struct {
|
||||
MinClientsActive bool
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue