diff --git a/lib/plugins/muc.js b/lib/plugins/muc.js
index <HASH>..<HASH> 100644
--- a/lib/plugins/muc.js
+++ b/lib/plugins/muc.js
@@ -16,7 +16,8 @@ module.exports = function (client) {
                     room: msg.from,
                     reason: msg.muc.invite.reason,
                     password: msg.muc.password,
-                    thread: msg.muc.invite.thread
+                    thread: msg.muc.invite.thread,
+                    type: 'mediated'
                 });
             }
             if (msg._extensions.muc._extensions.destroyed) {
@@ -40,7 +41,8 @@ module.exports = function (client) {
                 room: msg.mucInvite.jid,
                 reason: msg.mucInvite.reason,
                 password: msg.mucInvite.password,
-                thread: msg.mucInvite.thread
+                thread: msg.mucInvite.thread,
+                type: 'direct'
             });
         }
Add invite type to MUC invite events