Fix last commit
This commit is contained in:
parent
352bda2ef5
commit
11efeb8f3d
|
@ -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'
|
||||||
|
|
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue