| CPC H04L 63/0428 (2013.01) [H04L 5/0044 (2013.01); H04L 5/0055 (2013.01)] | 20 Claims |

|
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.
|