Match ZeitConsens user case-insensitively

The saved tapi-zc-user and the server's MA_USER_NAME are compared
to decide whether to auto-switch the 3CX presence. A mismatch in
capitalization between the two sources silently disabled the sync,
so both are lowercased before comparison.
This commit is contained in:
2026-04-15 17:19:08 +02:00
parent fae65a637c
commit f5ef2aac0f
+1 -1
View File
@@ -42,7 +42,7 @@ export class Status {
if (!this._enabled || !this._user) {
return;
}
var entry = avs.find(a => a.user === this._user);
var entry = avs.find(a => a.user.toLowerCase() === this._user.toLowerCase());
if (!entry) {
return;
}