aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/empathy-event-manager.c4
-rw-r--r--src/empathy-event-manager.h3
2 files changed, 4 insertions, 3 deletions
diff --git a/src/empathy-event-manager.c b/src/empathy-event-manager.c
index 4c540acd7..dd4c1c038 100644
--- a/src/empathy-event-manager.c
+++ b/src/empathy-event-manager.c
@@ -711,8 +711,8 @@ event_manager_muc_invite_got_contact_cb (TpConnection *connection,
tp_channel_get_identifier (approval->main_channel));
event_manager_add (approval->manager, approval->contact,
- EMPATHY_EVENT_TYPE_CHAT, EMPATHY_IMAGE_GROUP_MESSAGE, msg, invite_msg,
- approval, event_room_channel_process_func, NULL);
+ EMPATHY_EVENT_TYPE_INVITATION, EMPATHY_IMAGE_GROUP_MESSAGE, msg,
+ invite_msg, approval, event_room_channel_process_func, NULL);
empathy_sound_play (window, EMPATHY_SOUND_CONVERSATION_NEW);
diff --git a/src/empathy-event-manager.h b/src/empathy-event-manager.h
index 126f67762..39aa0c979 100644
--- a/src/empathy-event-manager.h
+++ b/src/empathy-event-manager.h
@@ -53,7 +53,8 @@ typedef enum {
EMPATHY_EVENT_TYPE_VOIP,
EMPATHY_EVENT_TYPE_TRANSFER,
EMPATHY_EVENT_TYPE_SUBSCRIPTION,
- EMPATHY_EVENT_TYPE_PRESENCE
+ EMPATHY_EVENT_TYPE_PRESENCE,
+ EMPATHY_EVENT_TYPE_INVITATION,
} EmpathyEventType;
typedef struct {