aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-notifications-approver.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/empathy-notifications-approver.c')
-rw-r--r--src/empathy-notifications-approver.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/empathy-notifications-approver.c b/src/empathy-notifications-approver.c
index 4bfe23cf1..af074470e 100644
--- a/src/empathy-notifications-approver.c
+++ b/src/empathy-notifications-approver.c
@@ -237,7 +237,8 @@ notification_is_urgent (EmpathyNotificationsApprover *self,
return TRUE;
case EMPATHY_EVENT_TYPE_SUBSCRIPTION:
- case EMPATHY_EVENT_TYPE_PRESENCE:
+ case EMPATHY_EVENT_TYPE_PRESENCE_ONLINE:
+ case EMPATHY_EVENT_TYPE_PRESENCE_OFFLINE:
return FALSE;
}
@@ -250,12 +251,15 @@ get_category_for_event_type (EmpathyEventType type)
switch (type) {
case EMPATHY_EVENT_TYPE_CHAT:
return "im.received";
+ case EMPATHY_EVENT_TYPE_PRESENCE_ONLINE:
+ return "presence.online";
+ case EMPATHY_EVENT_TYPE_PRESENCE_OFFLINE:
+ return "presence.offline";
case EMPATHY_EVENT_TYPE_VOIP:
case EMPATHY_EVENT_TYPE_TRANSFER:
case EMPATHY_EVENT_TYPE_INVITATION:
case EMPATHY_EVENT_TYPE_AUTH:
case EMPATHY_EVENT_TYPE_SUBSCRIPTION:
- case EMPATHY_EVENT_TYPE_PRESENCE:
return NULL;
}