Skip to content

Commit

Permalink
[mms-handler-dbus] Removed hardcoded string. JB#45787
Browse files Browse the repository at this point in the history
Turn missing From address into empty string instead.
It's up to the UI to interpret it any way it wants.
  • Loading branch information
monich committed May 28, 2019
1 parent 1637a0c commit d7b6e2c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mms-handler-dbus/src/mms_handler_dbus.c
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2013-2017 Jolla Ltd.
* Copyright (C) 2013-2019 Jolla Ltd.
* Contact: Slava Monich <slava.monich@jolla.com>
*
* This program is free software; you can redistribute it and/or modify
Expand Down Expand Up @@ -280,7 +280,7 @@ mms_handler_dbus_message_received(
MMSHandlerDbus* dbus = MMS_HANDLER_DBUS(handler);
const char* nothing = NULL;
const char* subject = msg->subject ? msg->subject : "";
const char* from = msg->from ? msg->from : "<hidden>";
const char* from = msg->from ? msg->from : "";
const char** to = msg->to ? (const char**)msg->to : &nothing;
const char** cc = msg->cc ? (const char**)msg->cc : &nothing;
GSList* list = msg->parts;
Expand Down

0 comments on commit d7b6e2c

Please sign in to comment.