summaryrefslogtreecommitdiff
path: root/composer
diff options
context:
space:
mode:
authorSoonmin Jung <sm0415.jung@samsung.com>2013-01-22 20:44:12 +0900
committerSoonmin Jung <sm0415.jung@samsung.com>2013-01-22 20:44:12 +0900
commit003bdb4fc33e206d8c14898ed804a6c3b2b1a854 (patch)
treeb05e37d5a203fd8e4857d1a08600273a4ef277dd /composer
parent89cc29d3914c160dd7512da4ff13739a2c8da12b (diff)
downloadmessage-app-003bdb4fc33e206d8c14898ed804a6c3b2b1a854.tar.gz
message-app-003bdb4fc33e206d8c14898ed804a6c3b2b1a854.tar.bz2
message-app-003bdb4fc33e206d8c14898ed804a6c3b2b1a854.zip
Fix N_SE-22522, uri of filepath is supported
Change-Id: I4f3665aabe05bb452ef650547e5ddfa9bd61ea45
Diffstat (limited to 'composer')
-rwxr-xr-xcomposer/src/ui-composer/msg-ui-composer-main.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/composer/src/ui-composer/msg-ui-composer-main.c b/composer/src/ui-composer/msg-ui-composer-main.c
index f88fe60..33ef138 100755
--- a/composer/src/ui-composer/msg-ui-composer-main.c
+++ b/composer/src/ui-composer/msg-ui-composer-main.c
@@ -390,8 +390,12 @@ static void __msgc_get_service_app_svc_op(MSG_COMPOSER_VIEW_DATA_S *cd, service_
__msgc_ui_parse_mmsto_uri(cd, svc_handle, (const char *)uri);
} else if (g_str_has_prefix(uri, MSG_BUNDLE_VALUE_FILE_URI)) { /* URI : file */
__msgc_ui_parse_file_uri(cd, svc_handle, (const char *)uri);
+ } else if (g_str_has_prefix(uri, "/")) {
+ cd->attachlist = make_tokenize_list((const char *)uri, COMPOSER_BUNDLE_ATTACH_TOKEN);
+ if (cd->attachlist)
+ msg_ui_composer_body_items_add(cd);
} else {
- D_EMSG("Not supported mime type");
+ D_EMSG("Not supported URI type");
return;
}
} else {