--- a/plugins/presence.lua Sun May 15 16:23:54 2016 +0200 +++ b/plugins/presence.lua Sat Jun 04 13:35:23 2016 +0200 @@ -10,8 +10,8 @@ end, 1); function stream:resend_presence() - if last_presence then - stream:send(last_presence); + if self.last_presence then + stream:send(self.last_presence); end end