aboutsummaryrefslogtreecommitdiff
path: root/badger
diff options
context:
space:
mode:
authorBohdan Horbeshko <bodqhrohro@gmail.com>2023-06-08 20:33:22 +0300
committerBohdan Horbeshko <bodqhrohro@gmail.com>2023-06-08 20:33:22 +0300
commit00f1417cb2ed8199633a12989e9befb53298d407 (patch)
tree37b7eeb9d66595c14bf5b4941cc13ff3f9bdb5d5 /badger
parent79fc0ddbe5010f54707441cb3f15c43192124ed2 (diff)
Version 1.6.0v1.6.0
Diffstat (limited to 'badger')
-rw-r--r--badger/ids.go2
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("/")...)