3
0
mirror of https://github.com/ergochat/ergo.git synced 2024-11-25 21:39:25 +01:00

Merge pull request #1643 from slingamn/auditorium_zerotime

fix #1642
This commit is contained in:
Shivaram Lingamneni 2021-05-05 10:14:50 -04:00 committed by GitHub
commit df49137aca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -819,9 +819,9 @@ func (channel *Channel) Join(client *Client, key string, isSajoin bool, rb *Resp
var message utils.SplitMessage
respectAuditorium := givenMode == modes.Mode(0) && channel.flags.HasMode(modes.Auditorium)
message = utils.MakeMessage("")
// no history item for fake persistent joins
if rb != nil && !respectAuditorium {
message = utils.MakeMessage("")
histItem := history.Item{
Type: history.Join,
Nick: details.nickMask,