This website works better with JavaScript.
Home
Help
Register
Sign In
pEp.foundation
/
pEpObjCAdapter
Watch
9
Star
0
Fork
1
Code
Issues
Releases
2
Wiki
Activity
Browse Source
IOS-2628 Deal with "no attachment"
IOS-2651
Dirk Zimmermann
1 year ago
parent
c4a83b23ca
commit
54b85076ef
2 changed files
with
10 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+9
-0
pEpObjCAdapter/Extensions/NSArray+Engine.m
+1
-1
pEpObjCAdapter/Extensions/PEPMessage+Engine.m
+ 9
- 0
pEpObjCAdapter/Extensions/NSArray+Engine.m
View File
@ -123,7 +123,16 @@
-
(
bloblist_t
*
_Nullable
)
toBloblist
{
if
(
self
.
count
==
0
)
{
return
NULL
;
}
bloblist_t
*
_bl
=
new_bloblist
(
NULL
,
0
,
NULL
,
NULL
)
;
if
(
!
_bl
)
{
return
NULL
;
}
bloblist_t
*
bl
=
_bl
;
/
/
free
(
)
might
be
the
default
,
but
let
'
s
be
explicit
+ 1
- 1
pEpObjCAdapter/Extensions/PEPMessage+Engine.m
View File
@ -91,7 +91,7 @@
precomposedStringWithCanonicalMapping
]
UTF8String
]
,
0
)
;
if
(
self
.
attachments
&&
self
.
attachments
.
count
>
0
)
{
if
(
self
.
attachments
)
{
msg
-
>
attachments
=
[
self
.
attachments
toBloblist
]
;
}
Write
Preview
Loading…
Cancel
Save