mirror of
https://github.com/ergochat/ergo.git
synced 2026-01-26 21:39:21 -08:00
fix TAGMSG playback
1. TAGMSG were incorrectly being considered multilines, because Is512() was checking the wrong thing 2. Playback of TAGMSG should depend on event-playback, not on message-tags
This commit is contained in:
parent
4595ed68a9
commit
2f20034bb7
4 changed files with 9 additions and 4 deletions
|
|
@ -897,7 +897,7 @@ func (client *Client) replayPrivmsgHistory(rb *ResponseBuffer, items []history.I
|
|||
}
|
||||
batchID = rb.StartNestedHistoryBatch(target)
|
||||
|
||||
allowTags := rb.session.capabilities.Has(caps.MessageTags)
|
||||
allowTags := rb.session.capabilities.Has(caps.EventPlayback)
|
||||
for _, item := range items {
|
||||
var command string
|
||||
switch item.Type {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue