Software /
code /
verse
Changeset
404:7c6a610c3ff5
plugins.presence: Fix resending previous presence
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 04 Jun 2016 13:35:23 +0200 |
parents | 403:6f4f60ebb796 |
children | 405:f065fc1fab0a |
files | plugins/presence.lua |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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