Commit 3a8d2859 by Kim Peace

Merge branch 'bug/#44046_1on1_from_contact' into 'develop'

Bug/#44046 1on1 from contact

See merge request !244
parents db41fe42 8aae5d00
......@@ -73,7 +73,6 @@ document.addEventListener("DOMContentLoaded", function () {
});
document.addEventListener("readystatechange", () => {
switch (document.readyState) {
case "interactive":
break;
......@@ -146,7 +145,12 @@ Common.getProfileImgUrl = function (path) {
if (receivedString == "" || receivedString == undefined) {
return Common.generateProfileImgURLFromServer(userInfo[0], userInfo[1]);
}
return "data:image/"+userInfo[0].split('.').pop()+";base64," + receivedString;
return (
"data:image/" +
userInfo[0].split(".").pop() +
";base64," +
receivedString
);
}
return Common.generateProfileImgURLFromServer(userInfo[0], userInfo[1]);
} else {
......@@ -186,7 +190,9 @@ Common.startCollaboration = function (collaborationType) {
}
}
if (typeof CHAT_SOCKET != "undefined") {
CHAT_SOCKET.emitCollaborationFinishMessage();
}
NativeBridgeDelegate.finishAllCollaboration();
NativeBridgeDelegate.startCollaboration(collaborationType);
Common.dismissLoadingIndicator();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment