aboutsummaryrefslogtreecommitdiff
path: root/xmpp-vala/src
diff options
context:
space:
mode:
authorfiaxh <git@lightrise.org>2025-12-27 12:56:24 +0100
committerfiaxh <git@lightrise.org>2025-12-27 12:56:24 +0100
commit9237cd05e758d17bcb2e420bd5313f9f2be8261d (patch)
treed951c9c248a37cfb65e3a275164f042f8af830e9 /xmpp-vala/src
parent718437502c995b471ac59cc025da7f5bc2a5ff49 (diff)
Fix critical in FileContentType
Diffstat (limited to 'xmpp-vala/src')
-rw-r--r--xmpp-vala/src/file_content_type.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmpp-vala/src/file_content_type.vala b/xmpp-vala/src/file_content_type.vala
index 0f91b547..3656435e 100644
--- a/xmpp-vala/src/file_content_type.vala
+++ b/xmpp-vala/src/file_content_type.vala
@@ -18,7 +18,7 @@ namespace Xmpp {
this.from_file_info(file_info);
}
- public string get_mime_type() {
+ public string? get_mime_type() {
return ContentType.get_mime_type(content_type);
}