diff options
author | Bohdan Horbeshko <bodqhrohro@gmail.com> | 2023-06-08 20:33:22 +0300 |
---|---|---|
committer | Bohdan Horbeshko <bodqhrohro@gmail.com> | 2023-06-08 20:33:22 +0300 |
commit | 00f1417cb2ed8199633a12989e9befb53298d407 (patch) | |
tree | 37b7eeb9d66595c14bf5b4941cc13ff3f9bdb5d5 /badger/ids.go | |
parent | 79fc0ddbe5010f54707441cb3f15c43192124ed2 (diff) |
Version 1.6.0v1.6.0
Diffstat (limited to 'badger/ids.go')
-rw-r--r-- | badger/ids.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/badger/ids.go b/badger/ids.go index 079887a..1295e8a 100644 --- a/badger/ids.go +++ b/badger/ids.go @@ -92,7 +92,7 @@ func toKeyPrefix(tgAccount, xmppAccount string) []byte { } func toByteKey(prefix, suffix []byte, typ string) []byte { - key := make([]byte, 0, len(prefix) + len(suffix) + 6) + key := make([]byte, 0, len(prefix)+len(suffix)+6) key = append(key, prefix...) key = append(key, []byte(typ)...) key = append(key, []byte("/")...) |