Plugin.EmailStore: Actually emit the email-sent signal

Wire up emitting the signal from the controller when it gets notified
of an email being sent.
This commit is contained in:
Michael Gratton 2020-03-21 16:59:01 +11:00 committed by Michael James Gratton
parent 2e623a5b78
commit e7c7326a05
3 changed files with 14 additions and 1 deletions

View file

@ -1472,7 +1472,10 @@ internal class Application.Controller : Geary.BaseObject {
AccountContext? context = this.accounts.get(service.account);
if (context != null) {
//this.notifications.email_sent(context.account, sent);
foreach (NotificationContext plugin in
this.plugins.get_notification_contexts()) {
plugin.email_sent(context.account.information, sent);
}
}
}