aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mm-sms-list.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/mm-sms-list.c b/src/mm-sms-list.c
index def9aa94..a3204a23 100644
--- a/src/mm-sms-list.c
+++ b/src/mm-sms-list.c
@@ -319,10 +319,17 @@ mm_sms_list_take_part (MMSmsList *self,
}
/* Did we just get a part of a multi-part SMS? */
- if (mm_sms_part_should_concat (part))
+ if (mm_sms_part_should_concat (part)) {
+ mm_dbg ("SMS part at '%s/%u' is from a multipart SMS",
+ mm_sms_storage_get_string (storage),
+ mm_sms_part_get_index (part));
return take_multipart (self, part, state, storage, error);
+ }
/* Otherwise, we build a whole new single-part MMSms just from this part */
+ mm_dbg ("SMS part at '%s/%u' is from a singlepart SMS",
+ mm_sms_storage_get_string (storage),
+ mm_sms_part_get_index (part));
return take_singlepart (self, part, state, storage, error);
}