Fix last commit

This commit is contained in:
Denis Fomin 2010-11-24 19:04:03 +03:00
parent 352bda2ef5
commit 11efeb8f3d
2 changed files with 1 additions and 1 deletions

View File

@ -1422,6 +1422,7 @@ class PEPReceivedEvent(nec.NetworkIncomingEvent, HelperEvent):
if entry: if entry:
gajim.nec.push_incoming_event(AtomEntryReceived(None, gajim.nec.push_incoming_event(AtomEntryReceived(None,
conn=self.conn, node=entry)) conn=self.conn, node=entry))
raise xmpp.NodeProcessed
class AtomEntryReceived(nec.NetworkIncomingEvent): class AtomEntryReceived(nec.NetworkIncomingEvent):
name = 'atom-entry-received' name = 'atom-entry-received'

View File

@ -533,7 +533,6 @@ class ConnectionPEP(object):
''' Called when we receive <message /> with pubsub event. ''' ''' Called when we receive <message /> with pubsub event. '''
gajim.nec.push_incoming_event(PEPReceivedEvent(None, conn=self, gajim.nec.push_incoming_event(PEPReceivedEvent(None, conn=self,
stanza=msg)) stanza=msg))
raise xmpp.NodeProcessed
def send_activity(self, activity, subactivity=None, message=None): def send_activity(self, activity, subactivity=None, message=None):
if self.connected == 1: if self.connected == 1: