[calls] notifier: Expand on comment



commit 805ed4e0f4e6200b01b466f1da7edb883172e291
Author: Evangelos Ribeiro Tzaras <devrtz fortysixandtwo eu>
Date:   Mon Jan 31 18:46:06 2022 +0100

    notifier: Expand on comment

 src/calls-notifier.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/src/calls-notifier.c b/src/calls-notifier.c
index 87952ccb..1aaa579f 100644
--- a/src/calls-notifier.c
+++ b/src/calls-notifier.c
@@ -58,7 +58,10 @@ notify (CallsNotifier *self, CallsCall *call)
   g_notification_set_category (notification, "x-gnome.call.unanswered");
 #endif
   contact = calls_call_get_contact (call);
-  // TODO: We need to update the notification when the contact name changes
+  /* TODO: We need to update the notification when the contact name changes
+     We would need to resend the notification in this case, as changing the properties
+     after having called g_application_send_notification() will have no effect.
+  */
   name = calls_best_match_get_name (contact);
   id = calls_call_get_id (call);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]