Changeset 586 in code for trunk


Ignore:
Timestamp:
Sep 13, 2021, 9:36:25 AM (4 years ago)
Author:
contact
Message:

Send empty history for service

Fixes error when fetching chat history for BouncerServ.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/downstream.go

    r585 r586  
    20992099                }
    21002100
     2101                // We don't save history for our service
     2102                if casemapASCII(target) == serviceNickCM {
     2103                        dc.SendBatch("chathistory", []string{target}, nil, func(batchRef irc.TagValue) {})
     2104                        return nil
     2105                }
     2106
    21012107                store, ok := dc.user.msgStore.(chatHistoryMessageStore)
    21022108                if !ok {
Note: See TracChangeset for help on using the changeset viewer.