fix: update uid encryption key fallback

This commit is contained in:
richjohnrambo
2026-09-17 16:59:47 +08:00
parent ba6fd7f1b6
commit f027764c47
5 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ import (
type userID int64
const defaultUIDKey = "la6YsO+bNX/+XIkOqc5Svw=="
const defaultUIDKey = "dkXxWLwqUNRfYmdXRzOkZw=="
var (
uidCodecMu sync.RWMutex
+1 -1
View File
@@ -24,7 +24,7 @@ func TestUserIDJSONAcceptsIMUserID(t *testing.T) {
func TestUserIDCodecMatchesIMServer(t *testing.T) {
const (
publicID = "usrOj2NWDNdlMU"
publicID = "usr3rZjh8TD_34"
dbID = int64(1574592702383656960)
)
got, err := parseUserID(publicID)