aboutsummaryrefslogtreecommitdiff
path: root/src/messages-service.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/messages-service.c')
-rw-r--r--src/messages-service.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/messages-service.c b/src/messages-service.c
index 18f3d0a..b3731a8 100644
--- a/src/messages-service.c
+++ b/src/messages-service.c
@@ -119,12 +119,7 @@ register_application (IndicatorMessagesService *service,
GDBusConnection *bus;
const gchar *sender;
- if (!im_application_list_add (applications, desktop_id)) {
- g_dbus_method_invocation_return_dbus_error (invocation,
- "com.canonical.indicator.messages.RegistrationFailed",
- "registration failed");
- return;
- }
+ im_application_list_add (applications, desktop_id);
bus = g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (service));
sender = g_dbus_method_invocation_get_sender (invocation);