diff options
author | Kevin Kuehler <keur@xcf.berkeley.edu> | 2019-10-10 15:27:12 -0700 |
---|---|---|
committer | Ben Burwell <ben@benburwell.com> | 2019-10-12 20:58:06 -0400 |
commit | baa8813dcc1bf4dbd18763df9ee654472ae0e433 (patch) | |
tree | f71a49c1eab79108cd6e674cce18b4e6b2c0eee1 /lib/msgstore.go | |
parent | 77c1a1714448092c2355eb1cc046f1939b46c5e4 (diff) |
Add threading control path to msglist.Draw()
Signed-off-by: Kevin Kuehler <keur@xcf.berkeley.edu>
Diffstat (limited to 'lib/msgstore.go')
-rw-r--r-- | lib/msgstore.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/msgstore.go b/lib/msgstore.go index bfea081..e86dc56 100644 --- a/lib/msgstore.go +++ b/lib/msgstore.go @@ -179,7 +179,7 @@ func (store *MessageStore) Update(msg types.WorkerMessage) { newMap := make(map[uint32]*models.MessageInfo) for i := len(msg.Threads) - 1; i >= 0; i-- { - msg.Threads[i].FormatThread(func(t *types.Thread, x string) bool { + msg.Threads[i].FormatThread(func(t *types.Thread, x []rune) bool { uid := t.Uid uids = append([]uint32{uid}, uids...) if msg, ok := store.Messages[uid]; ok { |