mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-30 13:35:18 +00:00
parent
3aa024e553
commit
209d8148ab
@ -104,7 +104,7 @@ public class GroupManager {
|
|||||||
|
|
||||||
if (avatar != null) {
|
if (avatar != null) {
|
||||||
Uri avatarUri = SingleUseBlobProvider.getInstance().createUri(avatar);
|
Uri avatarUri = SingleUseBlobProvider.getInstance().createUri(avatar);
|
||||||
avatarAttachment = new UriAttachment(avatarUri, ContentType.IMAGE_JPEG, AttachmentDatabase.TRANSFER_PROGRESS_DONE, avatar.length);
|
avatarAttachment = new UriAttachment(avatarUri, ContentType.IMAGE_PNG, AttachmentDatabase.TRANSFER_PROGRESS_DONE, avatar.length);
|
||||||
}
|
}
|
||||||
|
|
||||||
OutgoingGroupMediaMessage outgoingMessage = new OutgoingGroupMediaMessage(groupRecipient, groupContext, avatarAttachment, System.currentTimeMillis());
|
OutgoingGroupMediaMessage outgoingMessage = new OutgoingGroupMediaMessage(groupRecipient, groupContext, avatarAttachment, System.currentTimeMillis());
|
||||||
|
Loading…
Reference in New Issue
Block a user