chatsecureios / ChatSecure / Classes / Model / Yap Storage / OTROutgoingMessage.m @ 8d76e2e3
History | View | Annotate | Download (557 Bytes)
1 |
// |
---|---|
2 |
// OTROutgoingMessage.m |
3 |
// ChatSecure |
4 |
// |
5 |
// Created by David Chiles on 11/10/16. |
6 |
// Copyright © 2016 Chris Ballinger. All rights reserved. |
7 |
// |
8 |
|
9 |
#import "OTROutgoingMessage.h" |
10 |
#import <ChatSecureCore/ChatSecureCore-Swift.h> |
11 |
#import "OTRMessageEncryptionInfo.h" |
12 |
|
13 |
@implementation OTROutgoingMessage |
14 |
|
15 |
#pragma MARK - OTRMessageProtocol |
16 |
|
17 |
- (BOOL)isMessageIncoming |
18 |
{ |
19 |
return NO; |
20 |
} |
21 |
|
22 |
- (BOOL)isMessageRead |
23 |
{ |
24 |
return YES; |
25 |
} |
26 |
|
27 |
- (BOOL) isMessageSent { |
28 |
return self.dateSent != nil; |
29 |
} |
30 |
|
31 |
- (BOOL) isMessageDelivered { |
32 |
return self.isDelivered; |
33 |
} |
34 |
|
35 |
@end |