aboutsummaryrefslogtreecommitdiff
path: root/badger
diff options
context:
space:
mode:
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("/")...)