]> git.notmuchmail.org Git - notmuch/blobdiff - message.cc
Hide away the details of the implementation of notmuch_tags_t.
[notmuch] / message.cc
index f3e39b4b7f2366e711a8a7c8bf892dfbc80f8cc8..7fef60a532e7db43e4ef8711aaf58e410c67c352 100644 (file)
@@ -289,8 +289,7 @@ notmuch_message_get_filename (notmuch_message_t *message)
 notmuch_tags_t *
 notmuch_message_get_tags (notmuch_message_t *message)
 {
-    return _notmuch_terms_create_type (message, message->doc, "tag",
-                                      notmuch_tags_t);
+    return _notmuch_tags_create_terms (message, message->doc, "tag");
 }
 
 void