Closed AnthyG closed 6 years ago
This could enable a ZeroMail-like experience/ link, that could be shared everywhere to open up the private chat with that user.
If the zite then detects that the said URL is set (e.g. ?PC=[USER_CERT_ID], then the following code just needs to be executed, and the chat is open:
?PC=[USER_CERT_ID]
page.addPrivateContact(cert_user_id, page.genContactsList) page.loadPrivateMessages('selected user', true, cert_user_id) $('#private_recipient').val(cert_user_id)
Added with commit b1d9fec24eb1cf6c2aa100216d4ce639423c2a9a
This could enable a ZeroMail-like experience/ link, that could be shared everywhere to open up the private chat with that user.
If the zite then detects that the said URL is set (e.g.
?PC=[USER_CERT_ID]
, then the following code just needs to be executed, and the chat is open: