From 0a823f87a77a53ba73a3c05d69b08fb24e5f14ee Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Wed, 8 Oct 2025 02:58:19 -0500 Subject: typos --- helpers.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'helpers.go') diff --git a/helpers.go b/helpers.go index 27f6a73..26806f5 100644 --- a/helpers.go +++ b/helpers.go @@ -96,8 +96,8 @@ func (x *Chats) AppendNew(y *Chat) { // a Append() shortcut (that does Clone() with a mutex) notsure if it really works func (x *Chat) AppendEntry(y *ChatEntry) { - x.Lock() - defer x.Unlock() + chatMu.Lock() + defer chatMu.Unlock() x.Entries = append(x.Entries, proto.Clone(y).(*ChatEntry)) } -- cgit v1.2.3