mirror of
https://github.com/nextcloud/ocsms.git
synced 2026-08-23 14:22:54 +00:00
Use idxVal instead of id, because slashes mustn't be shown
This commit is contained in:
+2
-2
@@ -76,7 +76,7 @@ var checkNewMessages = function() {
|
|||||||
idxVal2 = idxVal.replace('/ /g','');
|
idxVal2 = idxVal.replace('/ /g','');
|
||||||
if (typeof jsondata['contacts'][id] == 'undefined') {
|
if (typeof jsondata['contacts'][id] == 'undefined') {
|
||||||
fn = '';
|
fn = '';
|
||||||
peerLabel = id;
|
peerLabel = idxVal;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
fn = jsondata['contacts'][id];
|
fn = jsondata['contacts'][id];
|
||||||
@@ -252,7 +252,7 @@ function fetchInitialPeerList(jsondata) {
|
|||||||
idxVal2 = idxVal.replace('/ /g','');
|
idxVal2 = idxVal.replace('/ /g','');
|
||||||
if (typeof jsondata['contacts'][id] == 'undefined') {
|
if (typeof jsondata['contacts'][id] == 'undefined') {
|
||||||
fn = '';
|
fn = '';
|
||||||
peerLabel = id;
|
peerLabel = idxVal;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
fn = jsondata['contacts'][id];
|
fn = jsondata['contacts'][id];
|
||||||
|
|||||||
Reference in New Issue
Block a user