ObjXMPP  Diff

Differences From Artifact [d293755462]:

To Artifact [3b1b31ea2a]:


63
64
65
66
67
68
69

70
71
72
73
74
75
76

77
78
79

- (void)dealloc
{
	[super dealloc];
}

- (void)runWithIQ: (XMPPIQ*)iq

{
#ifdef OF_HAVE_BLOCKS
	if ([object isKindOfClass: [OFBlock class]])
		((xmpp_callback_block_t)object)(iq);
	else
#endif
		[object performSelector: selector

			     withObject: iq];
}
@end







>



|



>



63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81

- (void)dealloc
{
	[super dealloc];
}

- (void)runWithIQ: (XMPPIQ*)iq
       connection: (XMPPConnection*)connection
{
#ifdef OF_HAVE_BLOCKS
	if ([object isKindOfClass: [OFBlock class]])
		((xmpp_callback_block_t)object)(connection, iq);
	else
#endif
		[object performSelector: selector
			     withObject: connection
			     withObject: iq];
}
@end