US 12,395,470 B1
Ephemeral messaging in a decentralized end-to-end encrypted messaging platform
Jimmy Enrico Jacques Holzer, Redwood City, CA (US); Kevin Matthew Christensen, Sunnyvale, CA (US); Shalini Sah, Menlo Park, CA (US); Santiago Pina Ros, Las Vegas, NV (US); Elton Kyin-Fong Leong, San Francisco, CA (US); Zafir Khan, Houston, TX (US); Dafeng Ou, San Leandro, CA (US); and Tuan Van Nguyen, London (GB)
Assigned to WhatsApp LLC, Menlo Park, CA (US)
Filed by WhatsApp LLC, Menlo Park, CA (US)
Filed on Sep. 22, 2021, as Appl. No. 17/482,279.
Int. Cl. H04L 29/06 (2006.01); H04L 5/00 (2006.01); H04L 9/40 (2022.01)
CPC H04L 63/0428 (2013.01) [H04L 5/0044 (2013.01); H04L 5/0055 (2013.01)] 20 Claims
OG exemplary drawing
 
1. A computer-implemented method for providing ephemeral messages, the method comprising:
receiving, at a first device, a request from a first user to send an ephemeral message to a second user, the second user being different from the first user, the ephemeral message comprising a payload and a stanza, the payload comprising content of the ephemeral message and metadata comprising a specified duration of time, the stanza comprising a recipient identifier associated with the second user and/or a second device of the second user, the second device being different from the first device;
encrypting the payload of the ephemeral message;
appending, at a server, a reception timestamp to the stanza;
determining, at the first device, an expiration time based on the specified duration of time and the reception timestamp;
sending, via the server, an amended ephemeral message including the expiration time to the second user according to the recipient identifier;
storing the amended ephemeral message locally on the first device of the first user and the second device of the second user;
determining, at the expiration time, whether a conversation containing the amended ephemeral message is active; and
deleting, based on a determination that the conversation is inactive, the amended ephemeral message from the first device and the second device.