@xuda.io/account_module 1.2.2048 → 1.2.2049
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.mjs +5 -13
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -2559,19 +2559,11 @@ export const pin_contact = async function (req) {
|
|
|
2559
2559
|
|
|
2560
2560
|
const contact_save_ret = await save_contact(uid, contact_doc);
|
|
2561
2561
|
|
|
2562
|
-
|
|
2563
|
-
'
|
|
2564
|
-
|
|
2565
|
-
|
|
2566
|
-
|
|
2567
|
-
data: {
|
|
2568
|
-
service: 'contact_pinned',
|
|
2569
|
-
to: [uid],
|
|
2570
|
-
data: await get_contact_info(uid, null, contact_id),
|
|
2571
|
-
},
|
|
2572
|
-
}),
|
|
2573
|
-
),
|
|
2574
|
-
);
|
|
2562
|
+
ws_dashboard_ms.emit_message_to_dashboard({
|
|
2563
|
+
service: 'contact_pinned',
|
|
2564
|
+
to: [uid],
|
|
2565
|
+
data: await get_contact_info(uid, null, contact_id),
|
|
2566
|
+
});
|
|
2575
2567
|
|
|
2576
2568
|
return contact_save_ret;
|
|
2577
2569
|
} catch (err) {
|