projects
/
svn42.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
bugfix
[svn42.git]
/
r3-netstatus
/
r3xmppbot
/
r3xmppbot.go
diff --git
a/r3-netstatus/r3xmppbot/r3xmppbot.go
b/r3-netstatus/r3xmppbot/r3xmppbot.go
index
6017c3a
..
7a19c77
100644
(file)
--- a/
r3-netstatus/r3xmppbot/r3xmppbot.go
+++ b/
r3-netstatus/r3xmppbot/r3xmppbot.go
@@
-196,6
+196,7
@@
func (botdata *XmppBot) handleEventsforXMPP(xmppout chan <- xmpp.Stanza, presenc
msg = &pec
debug_msg = true
case XMPPPresenceEvent:
+ debug_msg = last_presence_event != nil && last_presence_event.Present == pec.Present
last_presence_event = &pec
msg = composeMessage(last_presence_event, false)
default: