Commit b6a6c8de by Kim Peace

Fixed to response namecard group

parent e656af13
...@@ -113,12 +113,15 @@ Namecard.refreshForOffline = function () { ...@@ -113,12 +113,15 @@ Namecard.refreshForOffline = function () {
Namecard.moveContactPage = function (paramGroupID) { Namecard.moveContactPage = function (paramGroupID) {
const groupID = paramGroupID; const groupID = paramGroupID;
if (groupID == "") return;
NativeBridgeDelegate.showLoadingIndicator();
NativeBridgeDelegate.setToMoveGroupId(groupID);
if ( if (
window.location.pathname.includes("chat_room") || window.location.pathname.includes("chat_room") ||
window.location.pathname.includes("archive_detail") window.location.pathname.includes("archive_detail")
) { ) {
if (groupID == "") return;
NativeBridgeDelegate.setToMoveGroupId(groupID);
window.location.href = "contact.html"; window.location.href = "contact.html";
} else {
window.location.reload();
} }
}; };
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