Changeset 441 in code for trunk/downstream.go
- Timestamp:
- Jan 4, 2021, 4:17:35 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/downstream.go
r440 r441 1736 1736 } 1737 1737 1738 if dc.user.msgStore == nil { 1738 store, ok := dc.user.msgStore.(chatHistoryMessageStore) 1739 if !ok { 1739 1740 return ircError{&irc.Message{ 1740 1741 Command: irc.ERR_UNKNOWNCOMMAND, … … 1776 1777 switch subcommand { 1777 1778 case "BEFORE": 1778 history, err = dc.user.msgStore.LoadBeforeTime(uc.network, entity, timestamp, limit)1779 history, err = store.LoadBeforeTime(uc.network, entity, timestamp, limit) 1779 1780 case "AFTER": 1780 history, err = dc.user.msgStore.LoadAfterTime(uc.network, entity, timestamp, limit)1781 history, err = store.LoadAfterTime(uc.network, entity, timestamp, limit) 1781 1782 default: 1782 1783 // TODO: support LATEST, BETWEEN
Note:
See TracChangeset
for help on using the changeset viewer.