Support for group update messages from paired devices.

Fixes #3566
// FREEBIE
This commit is contained in:
Moxie Marlinspike
2015-10-15 17:10:54 -07:00
parent 4ffb1ea95e
commit 5fd9874ab6
5 changed files with 55 additions and 27 deletions

View File

@@ -31,7 +31,8 @@ public class OutgoingGroupMediaMessage extends OutgoingSecureMediaMessage {
public OutgoingGroupMediaMessage(@NonNull Recipients recipients,
@NonNull GroupContext group,
@Nullable final Attachment avatar)
@Nullable final Attachment avatar,
long sentTimeMillis)
{
super(recipients, Base64.encodeBytes(group.toByteArray()),
new LinkedList<Attachment>() {{if (avatar != null) add(avatar);}},