mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
402df72306
- Sends image rotated - If message is delete, delete the attachment db object and file - Delete attachment from detail view
21 lines
449 B
Objective-C
21 lines
449 B
Objective-C
//
|
|
// TSAttachementAdapter.h
|
|
// Signal
|
|
//
|
|
// Created by Frederic Jacobs on 17/12/14.
|
|
// Copyright (c) 2014 Open Whisper Systems. All rights reserved.
|
|
//
|
|
|
|
#import <JSQMessagesViewController/JSQMediaItem.h>
|
|
#import "TSAttachmentStream.h"
|
|
#import <Foundation/Foundation.h>
|
|
|
|
@interface TSAttachmentAdapter : JSQMediaItem
|
|
|
|
- (instancetype)initWithAttachment:(TSAttachmentStream*)attachment;
|
|
|
|
- (BOOL)isImage;
|
|
|
|
@property NSString *attachmentId;
|
|
|
|
@end
|